From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-03-10 04:37:02
> 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
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.
Express yourself instantly with MSN Messenger! Download today it's FREE!
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