|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-11-01 13:04:46
FWIW - for the serialization library and tests I tweaked the relevent
Jamfiles to include a command line switch to suppress these warnings. I"m
sure it would be easy for someone to include this in the toolset *.jam
files.
Of course one would have to add an explanation in some rationale some where
why boost does it this way - but I wouldn't think that would be a big
problem
Robert Ramey
Stefan Slapeta wrote:
> 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
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk