Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75188 - sandbox/multiprecision/libs/multiprecision/test
From: pbristow_at_[hidden]
Date: 2011-10-31 08:14:46


Author: pbristow
Date: 2011-10-31 08:14:45 EDT (Mon, 31 Oct 2011)
New Revision: 75188
URL: http://svn.boost.org/trac/boost/changeset/75188

Log:
Made warning-as-error only for debug and not for release (reported Trac Ticket #6074)

        <variant>release:<toolset>msvc:<warnings-as-errors>off # Boost.Test warnings Trac #6074.
        <variant>debug:<toolset>msvc:<warnings-as-errors>on

Not sure about other compilers.

Text files modified:
   sandbox/multiprecision/libs/multiprecision/test/Jamfile.v2 | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/multiprecision/libs/multiprecision/test/Jamfile.v2
==============================================================================
--- sandbox/multiprecision/libs/multiprecision/test/Jamfile.v2 (original)
+++ sandbox/multiprecision/libs/multiprecision/test/Jamfile.v2 2011-10-31 08:14:45 EDT (Mon, 31 Oct 2011)
@@ -30,7 +30,8 @@
                 -<toolset>msvc:<cxxflags>/Za # Requires MS extensions, so explictly cancel /Za to enable extensions.
                 <toolset>msvc:<asynch-exceptions>on # Needed for Boost.Test
                 <toolset>msvc:<warnings>all
- # <toolset>msvc:<warnings-as-errors>on
+ <variant>release:<toolset>msvc:<warnings-as-errors>off # Boost.Test warnings Trac #6074.
+ <variant>debug:<toolset>msvc:<warnings-as-errors>on
                 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
                 <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
                 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE


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