|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2008-05-30 01:29:27
Author: vladimir_prus
Date: 2008-05-30 01:29:27 EDT (Fri, 30 May 2008)
New Revision: 45934
URL: http://svn.boost.org/trac/boost/changeset/45934
Log:
Don't use the /Wp64 option on msvc 9.0.
Patch from Jaroslav Gresula.
Text files modified:
trunk/tools/build/v2/tools/msvc.jam | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/tools/msvc.jam
==============================================================================
--- trunk/tools/build/v2/tools/msvc.jam (original)
+++ trunk/tools/build/v2/tools/msvc.jam 2008-05-30 01:29:27 EDT (Fri, 30 May 2008)
@@ -435,8 +435,14 @@
# 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 ;
+ }
}
#
Boost-Commit 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