Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50051 - trunk/libs/circular_buffer/test
From: jano_gaspar_at_[hidden]
Date: 2008-12-01 05:41:07


Author: jano_gaspar
Date: 2008-12-01 05:41:06 EST (Mon, 01 Dec 2008)
New Revision: 50051
URL: http://svn.boost.org/trac/boost/changeset/50051

Log:
circular_buffer: #2538 Warning suppression in circular buffer test jamfile
Text files modified:
   trunk/libs/circular_buffer/test/Jamfile.v2 | 12 ++++++++++++
   1 files changed, 12 insertions(+), 0 deletions(-)

Modified: trunk/libs/circular_buffer/test/Jamfile.v2
==============================================================================
--- trunk/libs/circular_buffer/test/Jamfile.v2 (original)
+++ trunk/libs/circular_buffer/test/Jamfile.v2 2008-12-01 05:41:06 EST (Mon, 01 Dec 2008)
@@ -6,9 +6,21 @@
 # accompanying file LICENSE_1_0.txt or copy at
 # http://www.boost.org/LICENSE_1_0.txt)
 
+# Added warning supression Paul A. Bristow 25 Nov 2008
+
 # Bring in rules for testing.
 import testing ;
 
+project
+ : requirements
+ <toolset>msvc:<warnings>all
+ <toolset>msvc:<asynch-exceptions>on
+ <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
+ <toolset>msvc:<cxxflags>/wd4996 # 'function': was declared deprecated
+ <toolset>msvc:<cxxflags>/wd4244 # conversion from 'int' to 'unsigned short', possible loss of data
+ # in date-time
+ ;
+
 test-suite "circular_buffer"
   : [ run base_test.cpp : <threading>single : ]
     [ run space_optimized_test.cpp : <threading>single : ]


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