From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-11 04:18:47
On Friday 10 March 2006 12:37, Reece Dunn wrote:
> Volodya wrote:
> > On Monday 06 March 2006 14:11, Reece Dunn wrote:
> > > I believe that:
> > >
> > > toolset.flags <warnings>off : /W0 /wd4996 ;
> > >
> > > should also work (as per Herb's reply).
> > >
> > > Adding the additional /wd4996 to the <warnings>off option shouldn't
> > > cause any problems and will work with all msvc versions.
> > Are you sure /wd4996 works with earlier versions? If so, I'll go ahead
> > and add it.
> Aaarrrghhhhh! Sigh! I forgot VC6!!
> if ! [ MATCH ^(6\\.) : $(version) ]
> flags msvc.compile CFLAGS $(condition) : /Zc:forScope /Zc:wchar_t ;
> flags msvc.compile.c++ C++FLAGS $(condition) : /wd4675 ;
> + flags msvc.compile CFLAGS $(condition)/<warnings>off : /wd4996 ; #
> disable the function is deprecated warning flags msvc.compile CFLAGS
> $(condition)/<warnings>all : /Wp64 ; # 64-bit compatibility warning
> should work properly.
somewhat belately, but this fix is checked in.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk