|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81096 - in trunk/libs/chrono: build test
From: vicente.botet_at_[hidden]
Date: 2012-10-29 08:10:02
Author: viboes
Date: 2012-10-29 08:10:01 EDT (Mon, 29 Oct 2012)
New Revision: 81096
URL: http://svn.boost.org/trac/boost/changeset/81096
Log:
Chrono: remove some warnoings
Text files modified:
trunk/libs/chrono/build/Jamfile.v2 | 16 +++++++++-------
trunk/libs/chrono/test/Jamfile.v2 | 21 +++++++++++----------
2 files changed, 20 insertions(+), 17 deletions(-)
Modified: trunk/libs/chrono/build/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/build/Jamfile.v2 (original)
+++ trunk/libs/chrono/build/Jamfile.v2 2012-10-29 08:10:01 EDT (Mon, 29 Oct 2012)
@@ -11,9 +11,9 @@
project boost/chrono
: source-location ../src
: requirements
- <target-os>freebsd:<linkflags>"-lrt"
- <target-os>linux:<linkflags>"-lrt -lpthread"
- <toolset>pgi:<linkflags>"-lrt"
+ <target-os>freebsd:<linkflags>"-lrt"
+ <target-os>linux:<linkflags>"-lrt -lpthread"
+ <toolset>pgi:<linkflags>"-lrt"
#<threading>single:<define>BOOST_CHRONO_THREAD_DISABLED
<library>/boost/system//boost_system
#<define>BOOST_ERROR_CODE_HEADER_ONLY
@@ -27,7 +27,7 @@
#<define>BOOST_COMMON_TYPE_USES_ARRAY_ASSERT
#<define>BOOST_RATIO_USES_ARRAY_ASSERT
#<define>BOOST_CHRONO_USES_ARRAY_ASSERT
- <toolset>sun:<define>__typeof__=__typeof__
+ <toolset>sun:<define>__typeof__=__typeof__
<define>BOOST_SYSTEM_NO_DEPRECATED
#<toolset>gcc-3.4.4:<linkflags>--enable-auto-import
#<toolset>gcc-4.3.4:<linkflags>--enable-auto-import
@@ -52,6 +52,8 @@
<toolset>gcc-mingw-4.6.3:<cxxflags>-fdiagnostics-show-option
<toolset>gcc-mingw-4.7.0:<cxxflags>-fdiagnostics-show-option
<toolset>gcc-mingw-4.8.0:<cxxflags>-fdiagnostics-show-option
+ <toolset>msvc:<cxxflags>/wd4512
+
# Note: Some of the remarks from the Intel compiler are disabled
# remark #193: zero used for undefined preprocessing identifier "XXX"
# remark #304: access control not specified ("public" by default)
@@ -65,7 +67,7 @@
<toolset>intel:<cxxflags>-wd193,304,383,444
<toolset>intel:<cxxflags>-wd593,981
<toolset>intel:<cxxflags>-wd1418
- <toolset>intel:<cxxflags>-wd2415
+ <toolset>intel:<cxxflags>-wd2415
@@ -85,7 +87,7 @@
#<define>BOOST_CHRONO_USES_ARRAY_ASSERT
#<toolset>vacpp:<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
<toolset>vacpp:<define>BOOST_TYPEOF_EMULATION
- <toolset>sun:<define>__typeof__=__typeof__
+ <toolset>sun:<define>__typeof__=__typeof__
<define>BOOST_SYSTEM_NO_DEPRECATED
<link>shared:<define>BOOST_CHRONO_DYN_LINK=1
@@ -98,7 +100,7 @@
SOURCES = chrono thread_clock process_cpu_clocks ;
-
+
lib boost_chrono
: $(SOURCES).cpp
:
Modified: trunk/libs/chrono/test/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/test/Jamfile.v2 (original)
+++ trunk/libs/chrono/test/Jamfile.v2 2012-10-29 08:10:01 EDT (Mon, 29 Oct 2012)
@@ -13,17 +13,17 @@
project
: requirements
- <target-os>freebsd:<linkflags>"-lrt"
- <target-os>linux:<linkflags>"-lrt -lpthread"
- <toolset>clang/<target-os>linux:<linkflags>"-lpthread"
- <toolset>pgi:<linkflags>"-lrt"
+ <target-os>freebsd:<linkflags>"-lrt"
+ <target-os>linux:<linkflags>"-lrt -lpthread"
+ <toolset>clang/<target-os>linux:<linkflags>"-lpthread"
+ <toolset>pgi:<linkflags>"-lrt"
#<threading>single:<define>BOOST_CHRONO_THREAD_DISABLED
<toolset>msvc:<asynch-exceptions>on
<define>BOOST_CHRONO_USES_MPL_ASSERT
<define>BOOST_SYSTEM_NO_DEPRECATED
#<toolset>sun:<define>BOOST_COMMON_TYPE_DONT_USE_TYPEOF
#<toolset>sun:<define>BOOST_TYPEOF_EMULATION
- <toolset>sun:<define>__typeof__=__typeof__
+ <toolset>sun:<define>__typeof__=__typeof__
<warnings>all
<toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-pedantic
@@ -40,6 +40,7 @@
<toolset>gcc-mingw-4.5.0:<cxxflags>-Wno-missing-field-initializers
<toolset>gcc-mingw-4.5.0:<cxxflags>-fdiagnostics-show-option
<toolset>msvc:<cxxflags>/wd4127
+ <toolset>msvc:<cxxflags>/wd4512
# Note: Some of the remarks from the Intel compiler are disabled
# remark #193: zero used for undefined preprocessing identifier "XXX"
# remark #304: access control not specified ("public" by default)
@@ -53,7 +54,7 @@
<toolset>intel:<cxxflags>-wd193,304,383,444
<toolset>intel:<cxxflags>-wd593,981
<toolset>intel:<cxxflags>-wd1418
- <toolset>intel:<cxxflags>-wd2415
+ <toolset>intel:<cxxflags>-wd2415
;
rule chrono-run ( sources )
@@ -248,13 +249,13 @@
rule chrono-run-check ( sources )
{
return
- [ run $(sources)
+ [ run $(sources)
: :
:
<library>/boost/system//boost_system
<define>BOOST_CHRONO_VERSION=2
: $(sources[1]:B)_d ]
- [ run $(sources)
+ [ run $(sources)
: :
:
<library>/boost/system//boost_system/<link>static
@@ -273,13 +274,13 @@
rule chrono-run-check2 ( sources : name )
{
return
- [ run $(sources)
+ [ run $(sources)
: :
:
<library>/boost/system//boost_system
<define>BOOST_CHRONO_VERSION=2
: $(name)_d ]
- [ run $(sources)
+ [ run $(sources)
: :
:
<library>/boost/system//boost_system/<link>static
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