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

Don't use the /Wp64 option on msvc 9.0.

Patch from Jaroslav Gresula.


[SVN r45934]
This commit is contained in:
Vladimir Prus
2008-05-30 05:29:27 +00:00
parent 80627be8de
commit 7db25f99cd

View File

@@ -435,8 +435,14 @@ rule configure-version-specific ( toolset : version : condition )
# Some version of msvc have a bug, that cause deprecation
# warning to be emitted even with /W0
toolset.flags $(toolset).compile CFLAGS $(condition)/<warnings>off : /wd4996 ;
# 64-bit compatibility warning
toolset.flags $(toolset).compile CFLAGS $(condition)/<warnings>all : /Wp64 ;
if [ MATCH ^([78]\\.) : $(version) ]
{
# 64-bit compatibility warning
# deprecated since 9.0, see
# http://msdn.microsoft.com/en-us/library/yt4xw8fh.aspx
toolset.flags $(toolset).compile CFLAGS $(condition)/<warnings>all : /Wp64 ;
}
}
#