|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57705 - trunk/libs/serialization/util
From: ramey_at_[hidden]
Date: 2009-11-16 11:22:39
Author: ramey
Date: 2009-11-16 11:22:38 EST (Mon, 16 Nov 2009)
New Revision: 57705
URL: http://svn.boost.org/trac/boost/changeset/57705
Log:
suppress MSVC "deprecated" and "unsafe" warnings
Text files modified:
trunk/libs/serialization/util/test.jam | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/libs/serialization/util/test.jam
==============================================================================
--- trunk/libs/serialization/util/test.jam (original)
+++ trunk/libs/serialization/util/test.jam 2009-11-16 11:22:38 EST (Mon, 16 Nov 2009)
@@ -35,10 +35,14 @@
: # requirements
# toolset warnings
# <toolset>gcc:<cxxflags>"-Wno-non-virtual-dtor -Wno-ctor-dtor-privacy"
+ <toolset>borland:<cxxflags>"-w-8080 -w-8071 -w-8057 -w-8062 -w-8008 -w-0018 -w-8066"
<toolset>gcc:<warnings>all # ?
<toolset>msvc:<warnings>all # == /W4
+ <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
+ <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
+ <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
+ <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc-8.0:<cxxflags>"-wd4996"
- <toolset>borland:<cxxflags>"-w-8080 -w-8071 -w-8057 -w-8062 -w-8008 -w-0018 -w-8066"
# toolset optimizations
<toolset>gcc:<cxxflags>"-ftemplate-depth-255"
<toolset>msvc:<cxxflags>"-Gy"
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