It appears that several standard C and C++ functions have been 'deprecated' in this version of compiler. This is a major annoyance since neither C nor C++ standards seem to mention this. Naturally, it is possible to disable unwanted warnings, however doing this manually for every project is a pain in the arse. Is there a compatibility mode
Thanks,
- NK

warning C4996: 'foo' was declared deprecated
FJINFANTE
- NK
Gowri Shankar
In my case it was fopen, fcvt & ecvt (the latter two non-standard ISO). However browsing through standard library files I found plenty of functions tagged with __declspec(deprecated). It would be nice to have some sort of documentation on the topic, eg why those functions are deprecated and how to "undeprecate" them. There is little sense in using the replacement functions if you are writing portable code, the #ifdef clause is simply not worth the trouble.
- NK
wang ya zheng
Could you be a little more specific Which functions are you speaking of
Thanks,
--
Boris Jabes, Visual C++ Team
This post is provided "AS IS" and confers no rights
Gnome.com
warning C4996: 'strcpy' was declared deprecated
Perhaps an error message saying something like this:
warning C4996: 'strcpy' was declared unsecure
To override these messages, perhaps a definition of _CRT_SECURE_NO_WARNING could be used.
I appreciate Microsoft's attempt to create replacement library functions that are less exploitable to buffer overrun errors. It would be nice if Microsoft proposed the use of these more secure functions in future ANSI/ISO c/c++ libraries. I know I would adopt them instead of writing my own functions to work around these deficiencies in the standard libraries.
Cheers,
Carroll Vance
Dirk Strikwerda
RoshanShah