Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » How to mark a class of function is deprecated
Re: How to mark a class of function is deprecated [message #36587 is a reply to message #36583] Tue, 12 June 2012 09:08 Go to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
tojocky wrote on Mon, 11 June 2012 09:06

koldo wrote on Mon, 11 June 2012 09:46

Hello Ion

It works for MinGW but not for MSC.

The reason is that for MSC in Defs.h we have a:
#pragma warning(disable : 4996)



Thank you very much Koldo for testing this one.

Mirek, Could you help me in this:
-
#pragma warning(disable : 4996)
was introduced intentionally?



Yes. Microsoft has deprecated half of ANSI C library. The result is that with this warning on, all other more important warnings are lost in thousands of 'deprecated' warnings.

Which I believe might be sort of problem with your proposal too... If we want to introduce something like this, perhaps we should rather introduce "on demand" method, like adding flag "NODEPRECATED" to main package config would expose use of all deprecated features.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String isn't pickable?
Next Topic: What`s the corect way to use TimingInspector?
Goto Forum:
  


Current Time: Fri Jun 07 12:31:23 CEST 2024

Total time taken to generate the page: 0.01499 seconds