2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Disable 'deprecation' warnings when warnings=off. Otherwise, user building

with warnings=off will still get some warnings.


[SVN r33658]
This commit is contained in:
Vladimir Prus
2006-04-11 08:16:35 +00:00
parent 06adc0f63b
commit e4cd4dfb03

View File

@@ -399,7 +399,10 @@ local rule configure-version-specific ( version : condition )
{
flags msvc.compile CFLAGS $(condition) : /Zc:forScope /Zc:wchar_t ;
flags msvc.compile.c++ C++FLAGS $(condition) : /wd4675 ;
flags msvc.compile CFLAGS $(condition)/<warnings>all : /Wp64 ; # 64-bit compatibility warning
# disable the function is deprecated warning
flags msvc.compile CFLAGS $(condition)/<warnings>off : /wd4996 ;
# 64-bit compatibility warning
flags msvc.compile CFLAGS $(condition)/<warnings>all : /Wp64 ;
}
#