Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68664 - in trunk/libs/chrono: build test
From: vicente.botet_at_[hidden]
Date: 2011-02-06 06:37:36


Author: viboes
Date: 2011-02-06 06:37:33 EST (Sun, 06 Feb 2011)
New Revision: 68664
URL: http://svn.boost.org/trac/boost/changeset/68664

Log:
Chrono: Suppress warning for clang compiler
warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long]

Text files modified:
   trunk/libs/chrono/build/Jamfile.v2 | 3 +++
   trunk/libs/chrono/test/Jamfile.v2 | 3 +++
   2 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/libs/chrono/build/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/build/Jamfile.v2 (original)
+++ trunk/libs/chrono/build/Jamfile.v2 2011-02-06 06:37:33 EST (Sun, 06 Feb 2011)
@@ -40,6 +40,9 @@
         <toolset>pathscale:<cxxflags>-Wextra
         <toolset>pathscale:<cxxflags>-Wno-long-long
         <toolset>pathscale:<cxxflags>-pedantic
+ <toolset>clang:<cxxflags>-Wextra
+ <toolset>clang:<cxxflags>-pedantic
+ <toolset>clang:<cxxflags>-Wno-long-long
         <toolset>gcc-mingw-4.4.0:<cxxflags>-fdiagnostics-show-option
         <toolset>gcc-mingw-4.5.0:<cxxflags>-fdiagnostics-show-option
         <toolset>gcc-mingw-4.6.0:<cxxflags>-fdiagnostics-show-option

Modified: trunk/libs/chrono/test/Jamfile.v2
==============================================================================
--- trunk/libs/chrono/test/Jamfile.v2 (original)
+++ trunk/libs/chrono/test/Jamfile.v2 2011-02-06 06:37:33 EST (Sun, 06 Feb 2011)
@@ -29,6 +29,9 @@
         <toolset>pathscale:<cxxflags>-Wextra
         <toolset>pathscale:<cxxflags>-Wno-long-long
         <toolset>pathscale:<cxxflags>-pedantic
+ <toolset>clang:<cxxflags>-Wextra
+ <toolset>clang:<cxxflags>-pedantic
+ <toolset>clang:<cxxflags>-Wno-long-long
         <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


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