Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-11-01 11:38:15


Hi all,

As some of you know, there is currently a discussion on the C++ lib
reflector about the fact that MS decided to "deprecate" some C/C++
standard library functions on their own behalf.

Regardless of whether this may be considered good or not: there is
definitely an impact on the boost library because this "feature" causes
a LOT of warnings in the boost code. FYI, the log of the stage build
printed by the VC 8 final release can be read here:
http://tinyurl.com/bhxd8 (just search for "deprecated").

Now, as VC 8 has been released at the MSDN site, there will be more and
more users dealing with this compiler who will probably be very much
confused about the standard conformity of the boost library. Thus, I
suggest to generally set the _SCL_SECURE_NO_DEPRECATE macro (which
whould suppress those warnings) for this compiler in boost *even for the
1.33.1 release*!! There may be better solutions for future releases, but
I think there must be done something now to avoid a lot of user questions!

Thoughts?

Stefan

P.S.: This warning is printed upon EVERY call of cl.exe:

cl : Command line warning D9035 : option 'Og' has been deprecated and
will be removed in a future release


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk