Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80766 - in trunk: boost/thread/detail libs/thread/build libs/thread/test
From: vicente.botet_at_[hidden]
Date: 2012-09-29 19:35:30


Author: viboes
Date: 2012-09-29 19:35:29 EDT (Sat, 29 Sep 2012)
New Revision: 80766
URL: http://svn.boost.org/trac/boost/changeset/80766

Log:
Thread: Allow BOOST_THREAD_PROVIDES_VARIADIC_THREAD only if BOOST_NO_CXX11_HDR_TUPLE is defined + remove some -ansi flags tha make EXPERIMENTAL_CXX0X to be not defined
Text files modified:
   trunk/boost/thread/detail/config.hpp | 1 +
   trunk/libs/thread/build/Jamfile.v2 | 4 ++--
   trunk/libs/thread/test/Jamfile.v2 | 2 +-
   3 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp (original)
+++ trunk/boost/thread/detail/config.hpp 2012-09-29 19:35:29 EDT (Sat, 29 Sep 2012)
@@ -133,6 +133,7 @@
 
 #if ! defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \
     ! defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
+ ! defined(BOOST_NO_CXX11_HDR_TUPLE) && \
     defined(BOOST_THREAD_PLATFORM_PTHREAD)
 #define BOOST_THREAD_PROVIDES_VARIADIC_THREAD
 #endif

Modified: trunk/libs/thread/build/Jamfile.v2
==============================================================================
--- trunk/libs/thread/build/Jamfile.v2 (original)
+++ trunk/libs/thread/build/Jamfile.v2 2012-09-29 19:35:29 EDT (Sat, 29 Sep 2012)
@@ -60,7 +60,7 @@
 
         <toolset>darwin:<cxxflags>-Wextra
         <toolset>darwin:<cxxflags>-pedantic
- <toolset>darwin:<cxxflags>-ansi
+ #<toolset>darwin:<cxxflags>-ansi
         <toolset>darwin:<cxxflags>-fpermissive
         <toolset>darwin:<cxxflags>-Wno-long-long
 
@@ -70,7 +70,7 @@
 
         <toolset>clang:<cxxflags>-Wextra
         <toolset>clang:<cxxflags>-pedantic
- <toolset>clang:<cxxflags>-ansi
+ #<toolset>clang:<cxxflags>-ansi
         #<toolset>clang:<cxxflags>-fpermissive
         <toolset>clang:<cxxflags>-Wno-long-long
 

Modified: trunk/libs/thread/test/Jamfile.v2
==============================================================================
--- trunk/libs/thread/test/Jamfile.v2 (original)
+++ trunk/libs/thread/test/Jamfile.v2 2012-09-29 19:35:29 EDT (Sat, 29 Sep 2012)
@@ -43,7 +43,7 @@
         <toolset>clang:<cxxflags>-Wextra
         <toolset>clang:<cxxflags>-pedantic
         <toolset>clang:<cxxflags>-Wno-long-long
- <toolset>clang:<cxxflags>-ansi
+ #<toolset>clang:<cxxflags>-ansi
         #<toolset>clang:<cxxflags>-fpermissive # doesn't work
 
         <toolset>gcc-mingw-4.4.0:<cxxflags>-fdiagnostics-show-option


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