|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62425 - in trunk: boost/config/compiler boost/config/stdlib libs/config/test libs/config/test/all
From: john_at_[hidden]
Date: 2010-06-04 08:37:46
Author: johnmaddock
Date: 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
New Revision: 62425
URL: http://svn.boost.org/trac/boost/changeset/62425
Log:
Add new config macro for <typeindex>. Update config accordingly.
Fixes #4274.
Text files modified:
trunk/boost/config/compiler/nvcc.hpp | 1 +
trunk/boost/config/compiler/visualc.hpp | 3 ++-
trunk/boost/config/stdlib/dinkumware.hpp | 1 +
trunk/boost/config/stdlib/libcomo.hpp | 1 +
trunk/boost/config/stdlib/libstdcpp3.hpp | 1 +
trunk/boost/config/stdlib/modena.hpp | 1 +
trunk/boost/config/stdlib/msl.hpp | 1 +
trunk/boost/config/stdlib/roguewave.hpp | 1 +
trunk/boost/config/stdlib/sgi.hpp | 1 +
trunk/boost/config/stdlib/stlport.hpp | 1 +
trunk/boost/config/stdlib/vacpp.hpp | 1 +
trunk/libs/config/test/all/Jamfile.v2 | 5 ++++-
trunk/libs/config/test/config_info.cpp | 2 ++
trunk/libs/config/test/config_test.cpp | 12 +++++++++++-
14 files changed, 29 insertions(+), 3 deletions(-)
Modified: trunk/boost/config/compiler/nvcc.hpp
==============================================================================
--- trunk/boost/config/compiler/nvcc.hpp (original)
+++ trunk/boost/config/compiler/nvcc.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -66,6 +66,7 @@
#define BOOST_NO_0X_HDR_TYPE_TRAITS
#define BOOST_NO_0X_HDR_TUPLE
#define BOOST_NO_0X_HDR_THREAD
+#define BOOST_NO_0X_HDR_TYPEINDEX
#define BOOST_NO_0X_HDR_SYSTEM_ERROR
#define BOOST_NO_0X_HDR_REGEX
#define BOOST_NO_0X_HDR_RATIO
Modified: trunk/boost/config/compiler/visualc.hpp
==============================================================================
--- trunk/boost/config/compiler/visualc.hpp (original)
+++ trunk/boost/config/compiler/visualc.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -68,7 +68,6 @@
# define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
# define BOOST_NO_IS_ABSTRACT
# define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS
-# define BOOST_NO_EXTERN_TEMPLATE
// TODO: what version is meant here? Have there really been any fixes in cl 12.01 (as e.g. shipped with eVC4)?
# if (_MSC_VER > 1200)
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
@@ -80,6 +79,8 @@
// although a conforming signature for swprint exists in VC7.1
// it appears not to actually work:
# define BOOST_NO_SWPRINTF
+// Our extern template tests also fail for this compiler:
+# define BOOST_NO_EXTERN_TEMPLATE
#endif
#if defined(UNDER_CE)
Modified: trunk/boost/config/stdlib/dinkumware.hpp
==============================================================================
--- trunk/boost/config/stdlib/dinkumware.hpp (original)
+++ trunk/boost/config/stdlib/dinkumware.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -106,6 +106,7 @@
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
# define BOOST_NO_0X_HDR_TUPLE
+# define BOOST_NO_0X_HDR_TYPEINDEX
#endif
#if !defined(_HAS_TR1_IMPORTS) && !defined(BOOST_NO_0X_HDR_TUPLE)
Modified: trunk/boost/config/stdlib/libcomo.hpp
==============================================================================
--- trunk/boost/config/stdlib/libcomo.hpp (original)
+++ trunk/boost/config/stdlib/libcomo.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -54,6 +54,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -100,6 +100,7 @@
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
+# define BOOST_NO_0X_HDR_TYPEINDEX
#endif
// C++0x headers in GCC 4.4.0 and later
Modified: trunk/boost/config/stdlib/modena.hpp
==============================================================================
--- trunk/boost/config/stdlib/modena.hpp (original)
+++ trunk/boost/config/stdlib/modena.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -43,6 +43,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/msl.hpp
==============================================================================
--- trunk/boost/config/stdlib/msl.hpp (original)
+++ trunk/boost/config/stdlib/msl.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -67,6 +67,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/roguewave.hpp
==============================================================================
--- trunk/boost/config/stdlib/roguewave.hpp (original)
+++ trunk/boost/config/stdlib/roguewave.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -173,6 +173,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/sgi.hpp
==============================================================================
--- trunk/boost/config/stdlib/sgi.hpp (original)
+++ trunk/boost/config/stdlib/sgi.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -126,6 +126,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/stlport.hpp
==============================================================================
--- trunk/boost/config/stdlib/stlport.hpp (original)
+++ trunk/boost/config/stdlib/stlport.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -221,6 +221,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/boost/config/stdlib/vacpp.hpp
==============================================================================
--- trunk/boost/config/stdlib/vacpp.hpp (original)
+++ trunk/boost/config/stdlib/vacpp.hpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -33,6 +33,7 @@
# define BOOST_NO_0X_HDR_THREAD
# define BOOST_NO_0X_HDR_TUPLE
# define BOOST_NO_0X_HDR_TYPE_TRAITS
+# define BOOST_NO_0X_HDR_TYPEINDEX
# define BOOST_NO_STD_UNORDERED // deprecated; see following
# define BOOST_NO_0X_HDR_UNORDERED_MAP
# define BOOST_NO_0X_HDR_UNORDERED_SET
Modified: trunk/libs/config/test/all/Jamfile.v2
==============================================================================
--- trunk/libs/config/test/all/Jamfile.v2 (original)
+++ trunk/libs/config/test/all/Jamfile.v2 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -1,7 +1,7 @@
#
# Regression test Jamfile for boost configuration setup.
# *** DO NOT EDIT THIS FILE BY HAND ***
-# This file was automatically generated on Fri Apr 09 12:24:54 2010
+# This file was automatically generated on Fri Jun 04 12:51:35 2010
# by libs/config/tools/generate.cpp
# Copyright John Maddock.
# Use, modification and distribution are subject to the
@@ -229,6 +229,9 @@
test-suite "BOOST_NO_0X_HDR_TUPLE" :
[ run ../no_0x_hdr_tuple_pass.cpp ]
[ compile-fail ../no_0x_hdr_tuple_fail.cpp ] ;
+test-suite "BOOST_NO_0X_HDR_TYPEINDEX" :
+[ run ../no_0x_hdr_typeindex_pass.cpp ]
+[ compile-fail ../no_0x_hdr_typeindex_fail.cpp ] ;
test-suite "BOOST_NO_0X_HDR_TYPE_TRAITS" :
[ run ../no_0x_hdr_type_traits_pass.cpp ]
[ compile-fail ../no_0x_hdr_type_traits_fail.cpp ] ;
Modified: trunk/libs/config/test/config_info.cpp
==============================================================================
--- trunk/libs/config/test/config_info.cpp (original)
+++ trunk/libs/config/test/config_info.cpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -974,6 +974,7 @@
PRINT_MACRO(BOOST_NO_0X_HDR_SYSTEM_ERROR);
PRINT_MACRO(BOOST_NO_0X_HDR_THREAD);
PRINT_MACRO(BOOST_NO_0X_HDR_TUPLE);
+ PRINT_MACRO(BOOST_NO_0X_HDR_TYPEINDEX);
PRINT_MACRO(BOOST_NO_0X_HDR_TYPE_TRAITS);
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_MAP);
PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_SET);
@@ -1082,6 +1083,7 @@
+
// END GENERATED BLOCK
PRINT_MACRO(BOOST_INTEL);
Modified: trunk/libs/config/test/config_test.cpp
==============================================================================
--- trunk/libs/config/test/config_test.cpp (original)
+++ trunk/libs/config/test/config_test.cpp 2010-06-04 08:37:44 EDT (Fri, 04 Jun 2010)
@@ -1,4 +1,4 @@
-// This file was automatically generated on Fri Apr 09 12:24:54 2010
+// This file was automatically generated on Fri Jun 04 12:51:35 2010
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -112,6 +112,11 @@
#else
namespace boost_no_0x_hdr_tuple = empty_boost;
#endif
+#ifndef BOOST_NO_0X_HDR_TYPEINDEX
+#include "boost_no_0x_hdr_typeindex.ipp"
+#else
+namespace boost_no_0x_hdr_typeindex = empty_boost;
+#endif
#ifndef BOOST_NO_0X_HDR_TYPE_TRAITS
#include "boost_no_0x_hdr_type_traits.ipp"
#else
@@ -1196,6 +1201,11 @@
std::cerr << "Failed test for BOOST_NO_0X_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_0x_hdr_typeindex::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_0x_hdr_type_traits::test())
{
std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl;
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