15 Apr
2008
15 Apr
'08
4:28 p.m.
On Sun, Apr 13, 2008 at 12:06:53PM +1000, Andrew Hood wrote:
The attached patch shuts up all the ISO C++ deprecations warnings in MSVC8. (In CRLF format. You might want to convert to Unix format.)
It might take "#if _MSV_VER > something" for earlier versions like MSVC6. I don't have a copy of MSVC6. I could put MSCV7 on a VM to test it.
http://predef.sourceforge.net/precomp.html#sec32
has a list of appropriate values.
Is there not a better way to do this? I mean, things like strdup conform to SVr4, 4.3BSD, POSIX.1-2001 and is there really no way to with MSVC to say I want these functions even though they are not covered by ANSI C?
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/