|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51362 - in branches/cpp0x: boost/config/compiler libs/config/test libs/config/test/all
From: bdawes_at_[hidden]
Date: 2009-02-21 07:29:30
Author: bemandawes
Date: 2009-02-21 07:29:29 EST (Sat, 21 Feb 2009)
New Revision: 51362
URL: http://svn.boost.org/trac/boost/changeset/51362
Log:
Both regular and 'all' tests passing
Text files modified:
branches/cpp0x/boost/config/compiler/gcc.hpp | 3 -
branches/cpp0x/libs/config/test/all/Jamfile.v2 | 14 ++++++------
branches/cpp0x/libs/config/test/config_info.cpp | 1
branches/cpp0x/libs/config/test/config_test.cpp | 42 +++++++++++++++++++--------------------
4 files changed, 29 insertions(+), 31 deletions(-)
Modified: branches/cpp0x/boost/config/compiler/gcc.hpp
==============================================================================
--- branches/cpp0x/boost/config/compiler/gcc.hpp (original)
+++ branches/cpp0x/boost/config/compiler/gcc.hpp 2009-02-21 07:29:29 EST (Sat, 21 Feb 2009)
@@ -116,11 +116,10 @@
#define BOOST_NO_SCOPED_ENUMS
#define BOOST_NO_UNICODE_LITERALS
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2))
+#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
// C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
// passed on the command line, which in turn defines
// __GXX_EXPERIMENTAL_CXX0X__.
-#if defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_HAS_DECLTYPE
# define BOOST_HAS_RVALUE_REFS
# define BOOST_HAS_STATIC_ASSERT
Modified: branches/cpp0x/libs/config/test/all/Jamfile.v2
==============================================================================
--- branches/cpp0x/libs/config/test/all/Jamfile.v2 (original)
+++ branches/cpp0x/libs/config/test/all/Jamfile.v2 2009-02-21 07:29:29 EST (Sat, 21 Feb 2009)
@@ -1,7 +1,7 @@
#
# Regression test Jamfile for boost configuration setup.
# *** DO NOT EDIT THIS FILE BY HAND ***
-# This file was automatically generated on Tue Dec 16 16:41:41 2008
+# This file was automatically generated on Fri Feb 20 21:15:18 2009
# by libs/config/tools/generate.cpp
# Copyright John Maddock.
# Use, modification and distribution are subject to the
@@ -328,15 +328,15 @@
test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" :
[ run ../no_ret_det_pass.cpp ]
[ compile-fail ../no_ret_det_fail.cpp ] ;
+test-suite "BOOST_NO_RTTI" :
+[ run ../no_rtti_pass.cpp ]
+[ compile-fail ../no_rtti_fail.cpp ] ;
test-suite "BOOST_NO_RVALUE_REFERENCES" :
[ run ../no_rvalue_references_pass.cpp ]
[ compile-fail ../no_rvalue_references_fail.cpp ] ;
test-suite "BOOST_NO_SCOPED_ENUMS" :
[ run ../no_scoped_enums_pass.cpp ]
[ compile-fail ../no_scoped_enums_fail.cpp ] ;
-test-suite "BOOST_NO_RTTI" :
-[ run ../no_rtti_pass.cpp ]
-[ compile-fail ../no_rtti_fail.cpp ] ;
test-suite "BOOST_NO_SFINAE" :
[ run ../no_sfinae_pass.cpp ]
[ compile-fail ../no_sfinae_fail.cpp ] ;
@@ -403,12 +403,12 @@
test-suite "BOOST_NO_TYPEID" :
[ run ../no_typeid_pass.cpp ]
[ compile-fail ../no_typeid_fail.cpp ] ;
-test-suite "BOOST_NO_UNICODE_LITERALS" :
-[ run ../no_unicode_literals_pass.cpp ]
-[ compile-fail ../no_unicode_literals_fail.cpp ] ;
test-suite "BOOST_NO_TYPENAME_WITH_CTOR" :
[ run ../no_typename_with_ctor_pass.cpp ]
[ compile-fail ../no_typename_with_ctor_fail.cpp ] ;
+test-suite "BOOST_NO_UNICODE_LITERALS" :
+[ run ../no_unicode_literals_pass.cpp ]
+[ compile-fail ../no_unicode_literals_fail.cpp ] ;
test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" :
[ run ../no_using_breaks_adl_pass.cpp ]
[ compile-fail ../no_using_breaks_adl_fail.cpp ] ;
Modified: branches/cpp0x/libs/config/test/config_info.cpp
==============================================================================
--- branches/cpp0x/libs/config/test/config_info.cpp (original)
+++ branches/cpp0x/libs/config/test/config_info.cpp 2009-02-21 07:29:29 EST (Sat, 21 Feb 2009)
@@ -1033,6 +1033,7 @@
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES);
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
+
// END GENERATED BLOCK
PRINT_MACRO(BOOST_INTEL);
Modified: branches/cpp0x/libs/config/test/config_test.cpp
==============================================================================
--- branches/cpp0x/libs/config/test/config_test.cpp (original)
+++ branches/cpp0x/libs/config/test/config_test.cpp 2009-02-21 07:29:29 EST (Sat, 21 Feb 2009)
@@ -1,4 +1,4 @@
-// This file was automatically generated on Tue Dec 16 16:41:41 2008
+// This file was automatically generated on Fri Feb 20 21:15:18 2009
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -277,7 +277,11 @@
#else
namespace boost_no_unreachable_return_detection = empty_boost;
#endif
-<<<<<<< .working
+#ifndef BOOST_NO_RTTI
+#include "boost_no_rtti.ipp"
+#else
+namespace boost_no_rtti = empty_boost;
+#endif
#ifndef BOOST_NO_RVALUE_REFERENCES
#include "boost_no_rvalue_references.ipp"
#else
@@ -288,12 +292,6 @@
#else
namespace boost_no_scoped_enums = empty_boost;
#endif
-=======
-#ifndef BOOST_NO_RTTI
-#include "boost_no_rtti.ipp"
-#else
-namespace boost_no_rtti = empty_boost;
-#endif
#ifndef BOOST_NO_SFINAE
#include "boost_no_sfinae.ipp"
#else
@@ -404,16 +402,16 @@
#else
namespace boost_no_typeid = empty_boost;
#endif
-#ifndef BOOST_NO_UNICODE_LITERALS
-#include "boost_no_unicode_literals.ipp"
-#else
-namespace boost_no_unicode_literals = empty_boost;
-#endif
#ifndef BOOST_NO_TYPENAME_WITH_CTOR
#include "boost_no_typename_with_ctor.ipp"
#else
namespace boost_no_typename_with_ctor = empty_boost;
#endif
+#ifndef BOOST_NO_UNICODE_LITERALS
+#include "boost_no_unicode_literals.ipp"
+#else
+namespace boost_no_unicode_literals = empty_boost;
+#endif
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
#include "boost_no_using_breaks_adl.ipp"
#else
@@ -1213,6 +1211,11 @@
std::cerr << "Failed test for BOOST_NO_UNREACHABLE_RETURN_DETECTION at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_rtti::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_RTTI at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_rvalue_references::test())
{
std::cerr << "Failed test for BOOST_NO_RVALUE_REFERENCES at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1223,11 +1226,6 @@
std::cerr << "Failed test for BOOST_NO_SCOPED_ENUMS at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
- if(0 != boost_no_rtti::test())
- {
- std::cerr << "Failed test for BOOST_NO_RTTI at: " << __FILE__ << ":" << __LINE__ << std::endl;
- ++error_count;
- }
if(0 != boost_no_sfinae::test())
{
std::cerr << "Failed test for BOOST_NO_SFINAE at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1338,14 +1336,14 @@
std::cerr << "Failed test for BOOST_NO_TYPEID at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
- if(0 != boost_no_unicode_literals::test())
+ if(0 != boost_no_typename_with_ctor::test())
{
- std::cerr << "Failed test for BOOST_NO_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ std::cerr << "Failed test for BOOST_NO_TYPENAME_WITH_CTOR at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
- if(0 != boost_no_typename_with_ctor::test())
+ if(0 != boost_no_unicode_literals::test())
{
- std::cerr << "Failed test for BOOST_NO_TYPENAME_WITH_CTOR at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ std::cerr << "Failed test for BOOST_NO_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
if(0 != boost_function_scope_using_declaration_breaks_adl::test())
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