Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77770 - in trunk/libs: functional/overloaded_function/test local_function/test scope_exit/test
From: lorcaminiti_at_[hidden]
Date: 2012-04-04 17:15:17


Author: lcaminiti
Date: 2012-04-04 17:15:16 EDT (Wed, 04 Apr 2012)
New Revision: 77770
URL: http://svn.boost.org/trac/boost/changeset/77770

Log:
Added a temporary workaround the Boost.Config bug that causes Boost.Typeof to fail on Sun (Jamfile <define>__typeof__=__typeof__ so Boost.Config does not define __typeof__ to be typeof).
Text files modified:
   trunk/libs/functional/overloaded_function/test/Jamfile.v2 | 3 +++
   trunk/libs/local_function/test/Jamfile.v2 | 3 +++
   trunk/libs/scope_exit/test/Jamfile.v2 | 3 +++
   3 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/libs/functional/overloaded_function/test/Jamfile.v2
==============================================================================
--- trunk/libs/functional/overloaded_function/test/Jamfile.v2 (original)
+++ trunk/libs/functional/overloaded_function/test/Jamfile.v2 2012-04-04 17:15:16 EDT (Wed, 04 Apr 2012)
@@ -7,6 +7,9 @@
 
 import testing ;
 
+# Workaround a Boost.Config bug that causes Boost.Typeof to fail on Sun.
+project : requirements <toolset>sun:<define>__typeof__=__typeof__ ;
+
 run functor.cpp ;
 run make_decl.cpp ;
 run make_call.cpp ;

Modified: trunk/libs/local_function/test/Jamfile.v2
==============================================================================
--- trunk/libs/local_function/test/Jamfile.v2 (original)
+++ trunk/libs/local_function/test/Jamfile.v2 2012-04-04 17:15:16 EDT (Wed, 04 Apr 2012)
@@ -7,6 +7,9 @@
 
 import testing ;
 
+# Workaround a Boost.Config bug that causes Boost.Typeof to fail on Sun.
+project : requirements <toolset>sun:<define>__typeof__=__typeof__ ;
+
 rule vaseq ( command target )
 {
     $(command) $(target).cpp ;

Modified: trunk/libs/scope_exit/test/Jamfile.v2
==============================================================================
--- trunk/libs/scope_exit/test/Jamfile.v2 (original)
+++ trunk/libs/scope_exit/test/Jamfile.v2 2012-04-04 17:15:16 EDT (Wed, 04 Apr 2012)
@@ -8,6 +8,9 @@
 
 import testing ;
 
+# Workaround a Boost.Config bug that causes Boost.Typeof to fail on Sun.
+project : requirements <toolset>sun:<define>__typeof__=__typeof__ ;
+
 rule vaseq ( command target )
 {
     $(command) $(target).cpp ;


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