|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-07-15 06:41:58
Author: johnmaddock
Date: 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
New Revision: 47435
URL: http://svn.boost.org/trac/boost/changeset/47435
Log:
Merge Boost.Config changes from Trunk.
Added:
branches/release/boost/config/warning_disable.hpp
- copied unchanged from r47434, /trunk/boost/config/warning_disable.hpp
branches/release/libs/config/test/all/
- copied from r47434, /trunk/libs/config/test/all/
branches/release/libs/config/test/all/Jamfile.v2
- copied unchanged from r47434, /trunk/libs/config/test/all/Jamfile.v2
branches/release/libs/config/test/all/options_v2.jam
- copied unchanged from r47434, /trunk/libs/config/test/all/options_v2.jam
branches/release/libs/config/test/boost_no_adl_barrier.ipp
- copied unchanged from r47434, /trunk/libs/config/test/boost_no_adl_barrier.ipp
branches/release/libs/config/test/boost_no_part_spec_def_args.ipp
- copied unchanged from r47434, /trunk/libs/config/test/boost_no_part_spec_def_args.ipp
branches/release/libs/config/test/boost_no_template_streams.ipp
- copied unchanged from r47434, /trunk/libs/config/test/boost_no_template_streams.ipp
branches/release/libs/config/test/no_adl_barrier_fail.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_adl_barrier_fail.cpp
branches/release/libs/config/test/no_adl_barrier_pass.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_adl_barrier_pass.cpp
branches/release/libs/config/test/no_part_spec_def_args_fail.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_part_spec_def_args_fail.cpp
branches/release/libs/config/test/no_part_spec_def_args_pass.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_part_spec_def_args_pass.cpp
branches/release/libs/config/test/no_template_streams_fail.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_template_streams_fail.cpp
branches/release/libs/config/test/no_template_streams_pass.cpp
- copied unchanged from r47434, /trunk/libs/config/test/no_template_streams_pass.cpp
Removed:
branches/release/libs/config/test/options.jam
branches/release/libs/config/test/options_v2.jam
Properties modified:
branches/release/libs/config/doc/html/HTML.manifest (contents, props changed)
branches/release/libs/config/tools/configure.in (props changed)
Text files modified:
branches/release/boost/config/abi_prefix.hpp | 2
branches/release/boost/config/abi_suffix.hpp | 5
branches/release/boost/config/compiler/intel.hpp | 6
branches/release/boost/config/compiler/pgi.hpp | 8
branches/release/boost/config/compiler/sunpro_cc.hpp | 3
branches/release/boost/config/compiler/vacpp.hpp | 4
branches/release/boost/config/compiler/visualc.hpp | 7
branches/release/boost/config/platform/hpux.hpp | 3
branches/release/boost/config/platform/macos.hpp | 8
branches/release/boost/config/platform/solaris.hpp | 7
branches/release/boost/config/stdlib/stlport.hpp | 2
branches/release/boost/config/suffix.hpp | 11 +
branches/release/libs/config/doc/guidelines.qbk | 48 +++-
branches/release/libs/config/doc/html/HTML.manifest | 10
branches/release/libs/config/doc/html/boost_config/acknowledgements.html | 4
branches/release/libs/config/doc/html/boost_config/boost_macro_reference.html | 285 +++++++++++++++++++++++++----
branches/release/libs/config/doc/html/boost_config/guidelines_for_boost_authors.html | 128 ++++++++++--
branches/release/libs/config/doc/html/boost_config/rationale.html | 4
branches/release/libs/config/doc/html/index.html | 25 +-
branches/release/libs/config/doc/macro_reference.qbk | 88 +++++++-
branches/release/libs/config/test/Jamfile.v2 | 385 +++------------------------------------
branches/release/libs/config/test/boost_has_pthreads.ipp | 37 +++
branches/release/libs/config/test/boost_has_tr1_function.ipp | 2
branches/release/libs/config/test/boost_has_tr1_result_of.ipp | 2
branches/release/libs/config/test/boost_no_bcb_partial_spec.ipp | 2
branches/release/libs/config/test/boost_no_mem_tem_pnts.ipp | 2
branches/release/libs/config/test/boost_no_sfinae.ipp | 2
branches/release/libs/config/test/config_info.cpp | 16 +
branches/release/libs/config/test/config_test.cpp | 32 +++
branches/release/libs/config/test/has_tr1_array_fail.cpp | 8
branches/release/libs/config/test/has_tr1_array_pass.cpp | 8
branches/release/libs/config/test/has_tr1_bind_fail.cpp | 8
branches/release/libs/config/test/has_tr1_bind_pass.cpp | 8
branches/release/libs/config/test/has_tr1_complex_over_fail.cpp | 8
branches/release/libs/config/test/has_tr1_complex_over_pass.cpp | 8
branches/release/libs/config/test/has_tr1_complex_trig_fail.cpp | 8
branches/release/libs/config/test/has_tr1_complex_trig_pass.cpp | 8
branches/release/libs/config/test/has_tr1_function_fail.cpp | 8
branches/release/libs/config/test/has_tr1_function_pass.cpp | 8
branches/release/libs/config/test/has_tr1_hash_fail.cpp | 8
branches/release/libs/config/test/has_tr1_hash_pass.cpp | 8
branches/release/libs/config/test/has_tr1_mem_fn_fail.cpp | 8
branches/release/libs/config/test/has_tr1_mem_fn_pass.cpp | 8
branches/release/libs/config/test/has_tr1_random_fail.cpp | 8
branches/release/libs/config/test/has_tr1_random_pass.cpp | 8
branches/release/libs/config/test/has_tr1_ref_wrap_fail.cpp | 8
branches/release/libs/config/test/has_tr1_ref_wrap_pass.cpp | 8
branches/release/libs/config/test/has_tr1_regex_fail.cpp | 16 +
branches/release/libs/config/test/has_tr1_regex_pass.cpp | 18 +
branches/release/libs/config/test/has_tr1_result_of_fail.cpp | 8
branches/release/libs/config/test/has_tr1_result_of_pass.cpp | 8
branches/release/libs/config/test/has_tr1_shared_ptr_fail.cpp | 8
branches/release/libs/config/test/has_tr1_shared_ptr_pass.cpp | 8
branches/release/libs/config/test/has_tr1_tuple_fail.cpp | 8
branches/release/libs/config/test/has_tr1_tuple_pass.cpp | 8
branches/release/libs/config/test/has_tr1_type_traits_fail.cpp | 8
branches/release/libs/config/test/has_tr1_type_traits_pass.cpp | 8
branches/release/libs/config/test/has_tr1_unordered_map_fail.cpp | 8
branches/release/libs/config/test/has_tr1_unordered_map_pass.cpp | 8
branches/release/libs/config/test/has_tr1_unordered_set_fail.cpp | 8
branches/release/libs/config/test/has_tr1_unordered_set_pass.cpp | 8
branches/release/libs/config/test/has_tr1_utility_fail.cpp | 8
branches/release/libs/config/test/has_tr1_utility_pass.cpp | 8
branches/release/libs/config/tools/generate.cpp | 55 +---
branches/release/libs/serialization/build/Jamfile.v2 | 4
branches/release/libs/serialization/test/Jamfile.v2 | 4
branches/release/libs/serialization/util/test.jam | 2
67 files changed, 887 insertions(+), 606 deletions(-)
Modified: branches/release/boost/config/abi_prefix.hpp
==============================================================================
--- branches/release/boost/config/abi_prefix.hpp (original)
+++ branches/release/boost/config/abi_prefix.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,6 +1,6 @@
// abi_prefix header -------------------------------------------------------//
-// © Copyright John Maddock 2003
+// (c) Copyright John Maddock 2003
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Modified: branches/release/boost/config/abi_suffix.hpp
==============================================================================
--- branches/release/boost/config/abi_suffix.hpp (original)
+++ branches/release/boost/config/abi_suffix.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,6 +1,6 @@
// abi_sufffix header -------------------------------------------------------//
-// © Copyright John Maddock 2003
+// (c) Copyright John Maddock 2003
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -10,7 +10,7 @@
// <boost/config/abi_prefix.hpp>.
#ifndef BOOST_CONFIG_ABI_PREFIX_HPP
-# error Header boost/config/abi_prefix.hpp must only be used after boost/config/abi_prefix.hpp
+# error Header boost/config/abi_suffix.hpp must only be used after boost/config/abi_prefix.hpp
#else
# undef BOOST_CONFIG_ABI_PREFIX_HPP
#endif
@@ -24,3 +24,4 @@
#pragma nopushoptwarn
#endif
+
Modified: branches/release/boost/config/compiler/intel.hpp
==============================================================================
--- branches/release/boost/config/compiler/intel.hpp (original)
+++ branches/release/boost/config/compiler/intel.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -146,6 +146,12 @@
#if BOOST_INTEL_CXX_VERSION < 500
# error "Compiler not supported or configured - please reconfigure"
#endif
+
+// Intel on MacOS requires
+#if defined(__APPLE__) && defined(__INTEL_COMPILER)
+# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
+#endif
+
//
// last known and checked version:
#if (BOOST_INTEL_CXX_VERSION > 1010)
Modified: branches/release/boost/config/compiler/pgi.hpp
==============================================================================
--- branches/release/boost/config/compiler/pgi.hpp (original)
+++ branches/release/boost/config/compiler/pgi.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -7,6 +7,7 @@
// PGI C++ compiler setup:
+#define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
#define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(_COMPILER_VERSION)
//
@@ -15,10 +16,17 @@
// if no threading API is detected.
//
+#if (__PGIC__ == 7) && (__PGIC_MINOR__ == 1)
+
#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#define BOOST_NO_SWPRINTF
+#else
+
+# error "Pgi compiler not configured - please reconfigure"
+
+#endif
//
// version check:
// probably nothing to do here?
Modified: branches/release/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- branches/release/boost/config/compiler/sunpro_cc.hpp (original)
+++ branches/release/boost/config/compiler/sunpro_cc.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -40,7 +40,7 @@
// initialized in-class.
// >> Assertion: (../links/dbg_cstabs.cc, line 611)
// while processing ../test.cpp at line 0.
- // (Jens Maurer according to Gottfried Ganßauge 04 Mar 2002)
+ // (Jens Maurer according to Gottfried Ganssauge 04 Mar 2002)
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
// SunPro 5.3 has better support for partial specialization,
@@ -73,6 +73,7 @@
// Issues that effect all known versions:
//
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
+#define BOOST_NO_ADL_BARRIER
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
Modified: branches/release/boost/config/compiler/vacpp.hpp
==============================================================================
--- branches/release/boost/config/compiler/vacpp.hpp (original)
+++ branches/release/boost/config/compiler/vacpp.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,7 +1,7 @@
// (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Toon Knapen 2001 - 2003.
// (C) Copyright Lie-Quan Lee 2001.
-// (C) Copyright Markus Schöpflin 2002 - 2003.
+// (C) Copyright Markus Schoepflin 2002 - 2003.
// (C) Copyright Beman Dawes 2002 - 2003.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
@@ -53,7 +53,7 @@
#endif
// Some versions of the compiler have issues with default arguments on partial specializations
-#define BOOST_PARTIAL_SPECIALIZATION_EXPLICT_ARGS
+#define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
Modified: branches/release/boost/config/compiler/visualc.hpp
==============================================================================
--- branches/release/boost/config/compiler/visualc.hpp (original)
+++ branches/release/boost/config/compiler/visualc.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -83,6 +83,11 @@
# define BOOST_NO_TWO_PHASE_NAME_LOOKUP
#endif
+#if _MSC_VER == 1500 // 1500 == VC++ 9.0
+ // A bug in VC9:
+# define BOOST_NO_ADL_BARRIER
+#endif
+
#ifndef _NATIVE_WCHAR_T_DEFINED
# define BOOST_NO_INTRINSIC_WCHAR_T
#endif
@@ -181,7 +186,7 @@
#error "Compiler not supported or configured - please reconfigure"
#endif
//
-// last known and checked version is 1400 (VC8):
+// last known and checked version is 1500 (VC9):
#if (_MSC_VER > 1500)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
Modified: branches/release/boost/config/platform/hpux.hpp
==============================================================================
--- branches/release/boost/config/platform/hpux.hpp (original)
+++ branches/release/boost/config/platform/hpux.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -23,6 +23,8 @@
#if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE))
# define BOOST_NO_SWPRINTF
+#endif
+#if defined(__HP_aCC) && !defined(_INCLUDE__STDC_A1_SOURCE)
# define BOOST_NO_CWCTYPE
#endif
@@ -82,3 +84,4 @@
#ifndef BOOST_HAS_EXPM1
# define BOOST_HAS_EXPM1
#endif
+
Modified: branches/release/boost/config/platform/macos.hpp
==============================================================================
--- branches/release/boost/config/platform/macos.hpp (original)
+++ branches/release/boost/config/platform/macos.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -47,6 +47,14 @@
# define BOOST_NO_STDC_NAMESPACE
# endif
+# if (__GNUC__ == 4)
+
+// Both gcc and intel require these.
+# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
+# define BOOST_HAS_NANOSLEEP
+
+# endif
+
#else
// Using the MSL C library.
Modified: branches/release/boost/config/platform/solaris.hpp
==============================================================================
--- branches/release/boost/config/platform/solaris.hpp (original)
+++ branches/release/boost/config/platform/solaris.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -16,6 +16,13 @@
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>
+//
+// pthreads don't actually work with gcc unless _PTHREADS is defined:
+//
+#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
+# undef BOOST_HAS_PTHREADS
+#endif
+
Modified: branches/release/boost/config/stdlib/stlport.hpp
==============================================================================
--- branches/release/boost/config/stdlib/stlport.hpp (original)
+++ branches/release/boost/config/stdlib/stlport.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -98,8 +98,10 @@
//
// We always have SGI style hash_set, hash_map, and slist:
//
+#ifndef _STLP_NO_EXTENSIONS
#define BOOST_HAS_HASH
#define BOOST_HAS_SLIST
+#endif
//
// STLport does a good job of importing names into namespace std::,
Modified: branches/release/boost/config/suffix.hpp
==============================================================================
--- branches/release/boost/config/suffix.hpp (original)
+++ branches/release/boost/config/suffix.hpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -121,6 +121,15 @@
# endif
//
+// Without partial specialization, partial
+// specialization with default args won't work either:
+//
+# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
+ && !defined(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS)
+# define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
+# endif
+
+//
// Without member template support, we can't have template constructors
// in the standard library either:
//
@@ -232,6 +241,8 @@
#ifndef BOOST_HAS_THREADS
# undef BOOST_HAS_PTHREADS
# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
+# undef BOOST_HAS_PTHREAD_YIELD
+# undef BOOST_HAS_PTHREAD_DELAY_NP
# undef BOOST_HAS_WINTHREADS
# undef BOOST_HAS_BETHREADS
# undef BOOST_HAS_MPTASKS
Modified: branches/release/libs/config/doc/guidelines.qbk
==============================================================================
--- branches/release/libs/config/doc/guidelines.qbk (original)
+++ branches/release/libs/config/doc/guidelines.qbk 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -59,10 +59,36 @@
majority of compilers, such as namespaces, exceptions, RTTI, or templates.
+[section:warnings Disabling Compiler Warnings]
+
+The header `<boost/config/warning_disable.hpp>` can be used to disable
+certain compiler warings that are hard or impossible to otherwise remove.
+
+Note that:
+
+* This header [*['should never be included by another Boost header]], it should
+only ever be used by a library source file or a test case.
+* The header should be included [*['before you include any other header]].
+* This header only disables warnings that are hard or impossible to otherwise
+ deal with, and which are typically emitted by one compiler only, or
+ in one compilers own standard library headers.
+
+Currently it disables the following warnings:
+
+[table
+[[Compiler][Warning]]
+[[Visual C++ 8 and later][[@http://msdn2.microsoft.com/en-us/library/ttcz0bys(VS.80).aspx C4996]: Error 'function': was declared deprecated]]
+[[Intel C++][Warning 1786: relates to the use of "deprecated" standard
+ library functions rather like C4996 in Visual C++.]]
+]
+
+[endsect]
+
+
[section Adding New Defect Macros]
-When you need to add a new defect macro -either to fix a problem with an
-existing library, or when adding a new library- distil the issue down to
+When you need to add a new defect macro - either to fix a problem with an
+existing library, or when adding a new library - distil the issue down to
a simple test case; often, at this point other (possibly better) workarounds
may become apparent. Secondly always post the test case code to the boost
mailing list and invite comments; remember that C++ is complex and that
@@ -81,7 +107,7 @@
These comments are processed by the autoconf script, so make sure the format
follows the one given. The file should be named "`boost_no_foo.ipp`", where foo
-is the defect description -try and keep the file name under the Mac 30 character
+is the defect description - try and keep the file name under the Mac 30 character
filename limit though. You will also need to provide a function prototype
"`int test()`" that is declared in a namespace with the same name as the macro,
but in all lower case, and which returns zero on success:
@@ -100,15 +126,15 @@
Once the test code is in place in libs/config/test, updating the configuration
test system proceeds as:
-* cd into `libs/config/tools` and run `bjam --v2` : this generates the `.cpp`
-file test cases from the `.ipp` file, updates the Jamfile, `config_test.cpp` and
-`config_info.cpp`.
-* cd into `libs/config/test` and run `bjam --v2 `['MACRONAME]` compiler-list` : where
-['MACRONAME] is the name of the new macro, and `compiler-list` is the list of
+* cd into `libs/config/tools` and run `bjam` : this generates the `.cpp`
+file test cases from the `.ipp` file, updates the
+libs/config/test/all/Jamfile.v2, `config_test.cpp` and `config_info.cpp`.
+* cd into `libs/config/test/all` and run `bjam `['MACRONAME` compiler-list`] : where
+['MACRONAME] is the name of the new macro, and ['`compiler-list`] is a space separated list of
compilers to test with. You should see the tests pass with those compilers
that don't have the defect, and fail with those that do.
-* cd into `libs/config/test` and `run bjam --v2 config_info config_test compiler-list` :
-`config_info` should build and run cleanly for all the compilers in `compiler-list`
+* cd into `libs/config/test` and run `bjam config_info config_test `['`compiler-list`] :
+`config_info` should build and run cleanly for all the compilers in ['`compiler-list`]
while `config_test` should fail for those that have the defect, and pass for those
that do not.
@@ -168,7 +194,7 @@
compiler/standard library/platform is added.
The compiler/platform/standard library selection code is set up so that unknown
-platforms are ignored and assumed to be fully standards compliant -this gives
+platforms are ignored and assumed to be fully standards compliant - this gives
unknown platforms a "sporting chance" of working "as is" even without running
the configure script.
Modified: branches/release/libs/config/doc/html/HTML.manifest
==============================================================================
--- branches/release/libs/config/doc/html/HTML.manifest (original)
+++ branches/release/libs/config/doc/html/HTML.manifest 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,5 +1,5 @@
-index.html
-boost_config/boost_macro_reference.html
-boost_config/guidelines_for_boost_authors.html
-boost_config/rationale.html
-boost_config/acknowledgements.html
+index.html
+boost_config/boost_macro_reference.html
+boost_config/guidelines_for_boost_authors.html
+boost_config/rationale.html
+boost_config/acknowledgements.html
Modified: branches/release/libs/config/doc/html/boost_config/acknowledgements.html
==============================================================================
--- branches/release/libs/config/doc/html/boost_config/acknowledgements.html (original)
+++ branches/release/libs/config/doc/html/boost_config/acknowledgements.html 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -13,8 +13,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center">Home</td>
<td align="center">Libraries</td>
-<td align="center">People</td>
-<td align="center">FAQ</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
<td align="center">More</td>
</tr></table>
<hr>
Modified: branches/release/libs/config/doc/html/boost_config/boost_macro_reference.html
==============================================================================
--- branches/release/libs/config/doc/html/boost_config/boost_macro_reference.html (original)
+++ branches/release/libs/config/doc/html/boost_config/boost_macro_reference.html 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center">Home</td>
<td align="center">Libraries</td>
-<td align="center">People</td>
-<td align="center">FAQ</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
<td align="center">More</td>
</tr></table>
<hr>
@@ -31,8 +31,10 @@
that describe defects</a></span></dt>
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_optional_features">Macros
that describe optional features</a></span></dt>
-<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features">Macros
- that describe C++0x features</a></span></dt>
+<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_possible_c__0x_features">Macros
+ that describe possible C++0x features</a></span></dt>
+<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features_not_supported">Macros
+ that describe C++0x features not supported</a></span></dt>
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.boost_helper_macros">Boost
Helper Macros</a></span></dt>
<dt><span class="section"><a href="boost_macro_reference.html#boost_config.boost_macro_reference.boost_informational_macros">Boost
@@ -119,6 +121,24 @@
<tr>
<td>
<p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_ADL_BARRIER</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Compiler
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler locates and searches namespaces that it should <span class="emphasis"><em>*not*</em></span>
+ in fact search when performing argument dependent lookup.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
<code class="computeroutput"><span class="identifier">BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP</span></code>
</p>
</td>
@@ -258,8 +278,7 @@
The compiler fails to compile a nested class that has a dependent
base class:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">foo</span> <span class="special">:</span> <span class="special">{</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">U</span><span class="special">></span>
<span class="keyword">struct</span> <span class="identifier">bar</span> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">U</span> <span class="special">{};</span>
@@ -285,8 +304,7 @@
Template value parameters cannot have a dependent type, for example:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">value</span><span class="special">></span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">::</span><span class="identifier">type</span> <span class="identifier">value</span><span class="special">></span>
<span class="keyword">class</span> <span class="identifier">X</span> <span class="special">{</span> <span class="special">...</span> <span class="special">};</span>
</pre>
<p>
@@ -367,8 +385,7 @@
The compiler does not perform function template ordering or its function
template ordering is incorrect.
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="comment">// #1
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="comment">// #1
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">T</span><span class="special">);</span>
<span class="comment">// #2
@@ -655,6 +672,24 @@
<tr>
<td>
<p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Compiler
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not correctly handle partial specializations which
+ depend upon default arguments in the primary template.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
<code class="computeroutput"><span class="identifier">BOOST_NO_POINTER_TO_MEMBER_CONST</span></code>
</p>
</td>
@@ -1014,6 +1049,23 @@
<tr>
<td>
<p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_TEMPLATED_IOSTREAMS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Standard library
+ </p>
+ </td>
+<td>
+ <p>
+ The standard library does not provide templated iostream classes.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
<code class="computeroutput"><span class="identifier">BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS</span></code>
</p>
</td>
@@ -1138,8 +1190,7 @@
The compiler does not allow a void function to return the result
of calling another void function.
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">void</span> <span class="identifier">f</span><span class="special">()</span> <span class="special">{}</span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">void</span> <span class="identifier">f</span><span class="special">()</span> <span class="special">{}</span>
<span class="keyword">void</span> <span class="identifier">g</span><span class="special">()</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">f</span><span class="special">();</span> <span class="special">}</span>
</pre>
<p>
@@ -2061,17 +2112,59 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
-<a name="boost_config.boost_macro_reference.macros_that_describe_c__0x_features"></a><a class="link" href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features" title="Macros that describe C++0x features">Macros
- that describe C++0x features</a>
+<a name="boost_config.boost_macro_reference.macros_that_describe_possible_c__0x_features"></a><a class="link" href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_possible_c__0x_features" title="Macros that describe possible C++0x features">Macros
+ that describe possible C++0x features</a>
</h3></div></div></div>
<p>
The following macros describe features that are likely to be included in
- the upcoming ISO C++ standard, C++0x.
+ the upcoming ISO C++ standard, C++0x, but have not yet been approved for
+ inclusion in the language.
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Macro
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody><tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_HAS_CONCEPTS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler supports concepts.
+ </p>
+ </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_config.boost_macro_reference.macros_that_describe_c__0x_features_not_supported"></a><a class="link" href="boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features_not_supported" title="Macros that describe C++0x features not supported">Macros
+ that describe C++0x features not supported</a>
+</h3></div></div></div>
+<p>
+ The following macros describe features in the upcoming ISO C++ standard,
+ C++0x, that are not yet supported by a particular compiler.
</p>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
+<col>
</colgroup>
<thead><tr>
<th>
@@ -2084,78 +2177,190 @@
Description
</p>
</th>
+<td class="auto-generated"> </td>
</tr></thead>
<tbody>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_CONCEPTS</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_CHAR16_T</span></code>
</p>
</td>
<td>
<p>
- The compiler supports concepts. Note: concepts have been proposed
- for C++0x, but have not yet been approved for inclusion in the language.
+ The compiler does not support type <code class="computeroutput"><span class="identifier">char16_t</span></code>.
</p>
</td>
+<td class="auto-generated"> </td>
</tr>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_DECLTYPE</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_CHAR32_T</span></code>
</p>
</td>
<td>
<p>
- The compiler supports decltype.
+ The compiler does not support type <code class="computeroutput"><span class="identifier">char32_t</span></code>.
</p>
</td>
+<td class="auto-generated"> </td>
</tr>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_LONG_LONG</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_CONSTEXPR</span></code>
</p>
</td>
<td>
<p>
- The compiler supports the long long data type.
+ The compiler does not support <code class="computeroutput"><span class="identifier">constexpr</span></code>.
</p>
</td>
+<td class="auto-generated"> </td>
</tr>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_RVALUE_REFS</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_DECLTYPE</span></code>
</p>
</td>
<td>
<p>
- The compiler supports rvalue references.
+ The compiler does not support <code class="computeroutput"><span class="identifier">decltype</span></code>.
</p>
</td>
+<td class="auto-generated"> </td>
</tr>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_STATIC_ASSERT</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_DEFAULTED_FUNCTIONS</span></code>
</p>
</td>
<td>
<p>
- The compiler supports static assertions.
+ The compiler does not support defaulted (<code class="computeroutput"><span class="special">=</span>
+ <span class="keyword">default</span></code>) functions. [[<code class="computeroutput"><span class="identifier">BOOST_NO_DELETED_FUNCTIONS</span></code>
</p>
</td>
+<td>
+ <p>
+ The compiler does not support deleted (<code class="computeroutput"><span class="special">=</span>
+ <span class="keyword">delete</span></code>) functions.
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_EXPLICIT_CONVERSION_OPERATIONS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support explicit conversion operators (<code class="computeroutput"><span class="keyword">explicit</span> <span class="keyword">operator</span>
+ <span class="identifier">T</span><span class="special">()</span></code>).
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_EXTERN_TEMPLATE</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support explicit instantiation declarations
+ for templates (<code class="computeroutput"><span class="keyword">explicit</span> <span class="keyword">template</span></code>).
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_LONG_LONG</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support <code class="computeroutput"><span class="keyword">long</span>
+ <span class="keyword">long</span></code>.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_RAW_LITERALS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support raw string literals.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_RVALUE_REFERENCES</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support r-value references.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_SCOPED_ENUMS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support scoped enumerations (<code class="computeroutput"><span class="keyword">enum</span> <span class="keyword">class</span></code>).
+ </p>
+ </td>
+<td class="auto-generated"> </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_STATIC_ASSERT</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support <code class="computeroutput"><span class="identifier">static_assert</span></code>.
+ </p>
+ </td>
+<td class="auto-generated"> </td>
</tr>
<tr>
<td>
<p>
- <code class="computeroutput"><span class="identifier">BOOST_HAS_VARIADIC_TMPL</span></code>
+ <code class="computeroutput"><span class="identifier">BOOST_NO_UNICODE_LITERALS</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ The compiler does not support Unicode (<code class="computeroutput"><span class="identifier">u8</span></code>,
+ <code class="computeroutput"><span class="identifier">u</span></code>, <code class="computeroutput"><span class="identifier">U</span>#<span class="special">)</span> <span class="identifier">literals</span><span class="special">.</span>
+ <span class="special">]]</span> <span class="special">[[</span></code>BOOST_NO_VARIADIC_TEMPLATES`
</p>
</td>
<td>
<p>
- The compiler supports variadic templates.
+ The compiler does not support variadic templates.
</p>
</td>
</tr>
@@ -2280,16 +2485,14 @@
us a convenient way to declare such constants. For example instead
of:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">struct</span> <span class="identifier">foo</span><span class="special">{</span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">struct</span> <span class="identifier">foo</span><span class="special">{</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span>
<span class="special">};</span>
</pre>
<p>
use:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">struct</span> <span class="identifier">foo</span><span class="special">{</span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">struct</span> <span class="identifier">foo</span><span class="special">{</span>
<span class="identifier">BOOST_STATIC_CONSTANT</span><span class="special">(</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">value</span> <span class="special">=</span> <span class="number">2</span><span class="special">);</span>
<span class="special">};</span>
</pre>
@@ -2322,8 +2525,7 @@
instantiations if some of the template parameters don't appear in
the function parameter list. For instance:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">ostream</span><span class="special">></span>
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">typeinfo</span><span class="special">></span>
@@ -2347,8 +2549,7 @@
problem without effects on the calling syntax. For instance, in the
case above write:
</p>
-<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting">
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">int</span> <span class="identifier">n</span><span class="special">></span>
+<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">int</span> <span class="identifier">n</span><span class="special">></span>
<span class="keyword">void</span> <span class="identifier">f</span><span class="special">(</span><span class="identifier">BOOST_EXPLICIT_TEMPLATE_NON_TYPE</span><span class="special">(</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">n</span><span class="special">))</span> <span class="special">{</span> <span class="special">...</span> <span class="special">}</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span>
@@ -2742,8 +2943,7 @@
<p>
<span class="bold"><strong>my_library.hpp</strong></span>
</p>
-<pre class="programlisting">
-<span class="preprocessor">#ifndef</span> <span class="identifier">MY_INCLUDE_GUARD</span>
+<pre class="programlisting"><span class="preprocessor">#ifndef</span> <span class="identifier">MY_INCLUDE_GUARD</span>
<span class="preprocessor">#define</span> <span class="identifier">MY_INCLUDE_GUARD</span>
<span class="comment">// all includes go here:
@@ -2765,8 +2965,7 @@
<p>
<span class="bold"><strong>my_library.cpp</strong></span>
</p>
-<pre class="programlisting">
-<span class="special">...</span>
+<pre class="programlisting"><span class="special">...</span>
<span class="comment">// nothing special need be done in the implementation file
</span><span class="special">...</span>
</pre>
@@ -2831,8 +3030,7 @@
<p>
<span class="bold"><strong>my_library.hpp</strong></span>
</p>
-<pre class="programlisting">
-<span class="special">...</span>
+<pre class="programlisting"><span class="special">...</span>
<span class="comment">//
</span><span class="comment">// Don't include auto-linking code if the user has disabled it by
</span><span class="comment">// defining BOOST_ALL_NO_LIB, or BOOST_MY_LIBRARY_NO_LIB, or if this
@@ -2850,8 +3048,7 @@
<p>
<span class="bold"><strong>my_library.cpp</strong></span>
</p>
-<pre class="programlisting">
-<span class="comment">// define BOOST_MY_LIBRARY_SOURCE so that the header knows that the
+<pre class="programlisting"><span class="comment">// define BOOST_MY_LIBRARY_SOURCE so that the header knows that the
</span><span class="comment">// library is being built (possibly exporting rather than importing code)
</span><span class="comment">//
</span><span class="preprocessor">#define</span> <span class="identifier">BOOST_MY_LIBRARY_SOURCE</span>
Modified: branches/release/libs/config/doc/html/boost_config/guidelines_for_boost_authors.html
==============================================================================
--- branches/release/libs/config/doc/html/boost_config/guidelines_for_boost_authors.html (original)
+++ branches/release/libs/config/doc/html/boost_config/guidelines_for_boost_authors.html 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center">Home</td>
<td align="center">Libraries</td>
-<td align="center">People</td>
-<td align="center">FAQ</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
<td align="center">More</td>
</tr></table>
<hr>
@@ -28,6 +28,8 @@
Boost Authors</a>
</h2></div></div></div>
<div class="toc"><dl>
+<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.warnings">
+ Disabling Compiler Warnings</a></span></dt>
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_defect_macros">Adding
New Defect Macros</a></span></dt>
<dt><span class="section"><a href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_feature_test_macros">Adding
@@ -103,12 +105,91 @@
</ul></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
+<a name="boost_config.guidelines_for_boost_authors.warnings"></a><a class="link" href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.warnings" title="Disabling Compiler Warnings">
+ Disabling Compiler Warnings</a>
+</h3></div></div></div>
+<p>
+ The header <code class="computeroutput"><span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">warning_disable</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
+ can be used to disable certain compiler warings that are hard or impossible
+ to otherwise remove.
+ </p>
+<p>
+ Note that:
+ </p>
+<div class="itemizedlist"><ul type="disc">
+<li>
+ This header <span class="bold"><strong><span class="emphasis"><em>should never be included by
+ another Boost header</em></span></strong></span>, it should only ever be used
+ by a library source file or a test case.
+ </li>
+<li>
+ The header should be included <span class="bold"><strong><span class="emphasis"><em>before you
+ include any other header</em></span></strong></span>.
+ </li>
+<li>
+ This header only disables warnings that are hard or impossible to otherwise
+ deal with, and which are typically emitted by one compiler only, or in
+ one compilers own standard library headers.
+ </li>
+</ul></div>
+<p>
+ Currently it disables the following warnings:
+ </p>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Compiler
+ </p>
+ </th>
+<th>
+ <p>
+ Warning
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ Visual C++ 8 and later
+ </p>
+ </td>
+<td>
+ <p>
+ C4996:
+ Error 'function': was declared deprecated
+ </p>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ Intel C++
+ </p>
+ </td>
+<td>
+ <p>
+ Warning 1786: relates to the use of "deprecated" standard
+ library functions rather like C4996 in Visual C++.
+ </p>
+ </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="section" lang="en">
+<div class="titlepage"><div><div><h3 class="title">
<a name="boost_config.guidelines_for_boost_authors.adding_new_defect_macros"></a><a class="link" href="guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_defect_macros" title="Adding New Defect Macros">Adding
New Defect Macros</a>
</h3></div></div></div>
<p>
- When you need to add a new defect macro -either to fix a problem with an
- existing library, or when adding a new library- distil the issue down to
+ When you need to add a new defect macro - either to fix a problem with an
+ existing library, or when adding a new library - distil the issue down to
a simple test case; often, at this point other (possibly better) workarounds
may become apparent. Secondly always post the test case code to the boost
mailing list and invite comments; remember that C++ is complex and that sometimes
@@ -125,22 +206,20 @@
the test case in a <code class="computeroutput"><span class="special">.</span><span class="identifier">ipp</span></code>
file with the following comments near the top:
</p>
-<pre class="programlisting">
-<span class="comment">// MACRO: BOOST_NO_FOO
+<pre class="programlisting"><span class="comment">// MACRO: BOOST_NO_FOO
</span><span class="comment">// TITLE: foo
</span><span class="comment">// DESCRIPTION: If the compiler fails to support foo
</span></pre>
<p>
These comments are processed by the autoconf script, so make sure the format
follows the one given. The file should be named "<code class="computeroutput"><span class="identifier">boost_no_foo</span><span class="special">.</span><span class="identifier">ipp</span></code>",
- where foo is the defect description -try and keep the file name under the
+ where foo is the defect description - try and keep the file name under the
Mac 30 character filename limit though. You will also need to provide a function
prototype "<code class="computeroutput"><span class="keyword">int</span> <span class="identifier">test</span><span class="special">()</span></code>" that is declared in a namespace with
the same name as the macro, but in all lower case, and which returns zero
on success:
</p>
-<pre class="programlisting">
-<span class="keyword">namespace</span> <span class="identifier">boost_no_foo</span> <span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost_no_foo</span> <span class="special">{</span>
<span class="keyword">int</span> <span class="identifier">test</span><span class="special">()</span>
<span class="special">{</span>
@@ -157,26 +236,25 @@
</p>
<div class="itemizedlist"><ul type="disc">
<li>
- cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">tools</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
- <span class="special">--</span><span class="identifier">v2</span></code>
+ cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">tools</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span></code>
: this generates the <code class="computeroutput"><span class="special">.</span><span class="identifier">cpp</span></code>
- file test cases from the <code class="computeroutput"><span class="special">.</span><span class="identifier">ipp</span></code> file, updates the Jamfile, <code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>.
+ file test cases from the <code class="computeroutput"><span class="special">.</span><span class="identifier">ipp</span></code> file, updates the libs/config/test/all/Jamfile.v2,
+ <code class="computeroutput"><span class="identifier">config_test</span><span class="special">.</span><span class="identifier">cpp</span></code> and <code class="computeroutput"><span class="identifier">config_info</span><span class="special">.</span><span class="identifier">cpp</span></code>.
</li>
<li>
- cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
- <span class="special">--</span><span class="identifier">v2</span>
- </code><span class="emphasis"><em>MACRONAME</em></span><code class="computeroutput"> <span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code>
+ cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span><span class="special">/</span><span class="identifier">all</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
+ </code><span class="emphasis"><em>MACRONAME<code class="computeroutput"> <span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
: where <span class="emphasis"><em>MACRONAME</em></span> is the name of the new macro, and
- <code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code> is the list of compilers to test
- with. You should see the tests pass with those compilers that don't have
- the defect, and fail with those that do.
+ <span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span> is a space separated
+ list of compilers to test with. You should see the tests pass with those
+ compilers that don't have the defect, and fail with those that do.
</li>
<li>
- cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span></code> and <code class="computeroutput"><span class="identifier">run</span>
- <span class="identifier">bjam</span> <span class="special">--</span><span class="identifier">v2</span> <span class="identifier">config_info</span>
- <span class="identifier">config_test</span> <span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code>
+ cd into <code class="computeroutput"><span class="identifier">libs</span><span class="special">/</span><span class="identifier">config</span><span class="special">/</span><span class="identifier">test</span></code> and run <code class="computeroutput"><span class="identifier">bjam</span>
+ <span class="identifier">config_info</span> <span class="identifier">config_test</span>
+ </code><span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
: <code class="computeroutput"><span class="identifier">config_info</span></code> should build
- and run cleanly for all the compilers in <code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code>
+ and run cleanly for all the compilers in <span class="emphasis"><em><code class="computeroutput"><span class="identifier">compiler</span><span class="special">-</span><span class="identifier">list</span></code></em></span>
while <code class="computeroutput"><span class="identifier">config_test</span></code> should
fail for those that have the defect, and pass for those that do not.
</li>
@@ -265,9 +343,9 @@
</p>
<p>
The compiler/platform/standard library selection code is set up so that unknown
- platforms are ignored and assumed to be fully standards compliant -this gives
- unknown platforms a "sporting chance" of working "as is"
- even without running the configure script.
+ platforms are ignored and assumed to be fully standards compliant - this
+ gives unknown platforms a "sporting chance" of working "as
+ is" even without running the configure script.
</p>
<p>
When adding or modifying the individual mini-configs, assume that future,
Modified: branches/release/libs/config/doc/html/boost_config/rationale.html
==============================================================================
--- branches/release/libs/config/doc/html/boost_config/rationale.html (original)
+++ branches/release/libs/config/doc/html/boost_config/rationale.html 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center">Home</td>
<td align="center">Libraries</td>
-<td align="center">People</td>
-<td align="center">FAQ</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
<td align="center">More</td>
</tr></table>
<hr>
Modified: branches/release/libs/config/doc/html/index.html
==============================================================================
--- branches/release/libs/config/doc/html/index.html (original)
+++ branches/release/libs/config/doc/html/index.html 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -12,8 +12,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center">Home</td>
<td align="center">Libraries</td>
-<td align="center">People</td>
-<td align="center">FAQ</td>
+<td align="center">People</td>
+<td align="center">FAQ</td>
<td align="center">More</td>
</tr></table>
<hr>
@@ -28,7 +28,7 @@
</h3></div></div></div>
<div><p class="copyright">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
<div><div class="legalnotice">
-<a name="id2625913"></a><p>
+<a name="id464982"></a><p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
</p>
@@ -61,8 +61,10 @@
that describe defects</a></span></dt>
<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_optional_features">Macros
that describe optional features</a></span></dt>
-<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features">Macros
- that describe C++0x features</a></span></dt>
+<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_possible_c__0x_features">Macros
+ that describe possible C++0x features</a></span></dt>
+<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_that_describe_c__0x_features_not_supported">Macros
+ that describe C++0x features not supported</a></span></dt>
<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_helper_macros">Boost
Helper Macros</a></span></dt>
<dt><span class="section"><a href="boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_informational_macros">Boost
@@ -73,6 +75,8 @@
<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html">Guidelines for
Boost Authors</a></span></dt>
<dd><dl>
+<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.warnings">
+ Disabling Compiler Warnings</a></span></dt>
<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_defect_macros">Adding
New Defect Macros</a></span></dt>
<dt><span class="section"><a href="boost_config/guidelines_for_boost_authors.html#boost_config.guidelines_for_boost_authors.adding_new_feature_test_macros">Adding
@@ -139,8 +143,7 @@
<p>
Boost library implementations access configuration macros via
</p>
-<pre class="programlisting">
-<span class="preprocessor">#include</span> <boost/config.hpp>
+<pre class="programlisting"><span class="preprocessor">#include</span> <boost/config.hpp>
</pre>
<p>
While Boost library users are not required to include that file directly,
@@ -275,8 +278,7 @@
For example to run the configure script with HP aCC, you might use something
like:
</p>
-<pre class="programlisting">
-<span class="keyword">export</span> <span class="identifier">CXX</span><span class="special">=</span><span class="string">"aCC"</span>
+<pre class="programlisting"><span class="keyword">export</span> <span class="identifier">CXX</span><span class="special">=</span><span class="string">"aCC"</span>
<span class="keyword">export</span> <span class="identifier">CXXFLAGS</span><span class="special">=</span><span class="string">"-Aa -DAportable -D__HPACC_THREAD_SAFE_RB_TREE \
-DRWSTD_MULTI_THREAD -DRW_MULTI_THREAD -D_REENTRANT -D_THREAD_SAFE"</span>
<span class="keyword">export</span> <span class="identifier">LDFLAGS</span><span class="special">=</span><span class="string">"-DAportable"</span>
@@ -743,8 +745,7 @@
there. Finally, open up <boost/config/user.hpp>
and edit the following defines:
</p>
-<pre class="programlisting">
-<span class="preprocessor">#define</span> <span class="identifier">BOOST_COMPILER_CONFIG</span> <span class="string">"boost/config/mysetup/visualc.hpp"</span>
+<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_COMPILER_CONFIG</span> <span class="string">"boost/config/mysetup/visualc.hpp"</span>
<span class="preprocessor">#define</span> <span class="identifier">BOOST_STDLIB_CONFIG</span> <span class="string">"boost/config/mysetup/stlport.hpp"</span>
<span class="preprocessor">#define</span> <span class="identifier">BOOST_USER_CONFIG</span> <span class="string">"boost/config/mysetup/win32.hpp"</span>
</pre>
@@ -961,7 +962,7 @@
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: March 15, 2008 at 13:57:39 GMT</small></p></td>
+<td align="left"><p><small>Last revised: June 20, 2008 at 00:19:08 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: branches/release/libs/config/doc/macro_reference.qbk
==============================================================================
--- branches/release/libs/config/doc/macro_reference.qbk (original)
+++ branches/release/libs/config/doc/macro_reference.qbk 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -38,6 +38,10 @@
in namespaces nested inside boost (but not elsewhere). Probably
Borland specific.
]]
+[[`BOOST_NO_ADL_BARRIER`][Compiler][
+The compiler locates and searches namespaces that it should /*not*/ in fact
+search when performing argument dependent lookup.
+]]
[[`BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP`][Compiler][
Compiler does not implement argument-dependent lookup (also named
Koenig lookup); see std::3.4.2 \[basic.koenig.lookup\]
@@ -172,6 +176,10 @@
namespace scope, then using'ed to boost. Probably GCC specific. See
[@../../../../boost/operators.hpp `<boost/operators.hpp>`] for example.
]]
+[[`BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS`][Compiler][
+The compiler does not correctly handle partial specializations
+which depend upon default arguments in the primary template.
+]]
[[`BOOST_NO_POINTER_TO_MEMBER_CONST`][Compiler][
The compiler does not correctly handle pointers to const member functions,
preventing use of these in overloaded function templates. See
@@ -246,6 +254,9 @@
Class template partial specialization (14.5.4 \[temp.class.spec\]) not
supported.
]]
+[[`BOOST_NO_TEMPLATED_IOSTREAMS`][Standard library][
+The standard library does not provide templated iostream classes.
+]]
[[`BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS`][Standard library][
The standard library does not provide templated iterator constructors
for its containers.
@@ -476,36 +487,75 @@
[endsect]
-[section Macros that describe C++0x features]
+[section Macros that describe possible C++0x features]
The following macros describe features that are likely to be included in the
-upcoming ISO C++ standard, C++0x.
+upcoming ISO C++ standard, C++0x, but have not yet been approved for inclusion
+in the language.
[table
[[Macro ][Description ]]
[[`BOOST_HAS_CONCEPTS`][
-The compiler supports concepts. Note: concepts have been proposed for C++0x,
-but have not yet been approved for inclusion in the language.
-]]
-[[`BOOST_HAS_DECLTYPE`][
-The compiler supports decltype.
-]]
-[[`BOOST_HAS_LONG_LONG`][
-The compiler supports the long long data type.
-]]
-[[`BOOST_HAS_RVALUE_REFS`][
-The compiler supports rvalue references.
-]]
-[[`BOOST_HAS_STATIC_ASSERT`][
-The compiler supports static assertions.
-]]
-[[`BOOST_HAS_VARIADIC_TMPL`][
-The compiler supports variadic templates.
+The compiler supports concepts.
]]
]
+[endsect]
+
+[section Macros that describe C++0x features not supported]
+
+The following macros describe features in the upcoming ISO C++ standard, C++0x,
+that are not yet supported by a particular compiler.
+
+[table
+[[Macro ][Description ]]
+
+[[`BOOST_NO_CHAR16_T`][The compiler does not support
+type `char16_t`.
+]]
+[[`BOOST_NO_CHAR32_T`][The compiler does not support
+type `char32_t`.
+]]
+[[`BOOST_NO_CONSTEXPR`][The compiler does not support
+`constexpr`.
+]]
+[[`BOOST_NO_DECLTYPE`][The compiler does not support
+`decltype`.
+]]
+[[`BOOST_NO_DEFAULTED_FUNCTIONS`][The compiler does not support
+defaulted (`= default`) functions.
+[[`BOOST_NO_DELETED_FUNCTIONS`][The compiler does not support
+deleted (`= delete`) functions.
+]]
+[[`BOOST_NO_EXPLICIT_CONVERSION_OPERATIONS`][The compiler does not support
+explicit conversion operators (`explicit operator T()`).
+]]
+[[`BOOST_NO_EXTERN_TEMPLATE`][The compiler does not support
+explicit instantiation declarations for templates (`explicit template`).
+]]
+[[`BOOST_NO_LONG_LONG`][The compiler does not support `long long`.
+]]
+[[`BOOST_NO_RAW_LITERALS`][The compiler does not support
+raw string literals.
+]]
+[[`BOOST_NO_RVALUE_REFERENCES`][The compiler does not support
+r-value references.
+]]
+[[`BOOST_NO_SCOPED_ENUMS`][The compiler does not support
+scoped enumerations (`enum class`).
+]]
+[[`BOOST_NO_STATIC_ASSERT`][The compiler does not support
+`static_assert`.
+]]
+[[`BOOST_NO_UNICODE_LITERALS`][The compiler does not support
+Unicode (`u8`, `u`, `U') literals.
+]]
+[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support
+variadic templates.
+]]
+]
[endsect]
Modified: branches/release/libs/config/test/Jamfile.v2
==============================================================================
--- branches/release/libs/config/test/Jamfile.v2 (original)
+++ branches/release/libs/config/test/Jamfile.v2 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,9 +1,5 @@
#
-# Regression test Jamfile for boost configuration setup.
-# *** DO NOT EDIT THIS FILE BY HAND ***
-# This file was automatically generated on Fri Oct 19 13:34:11 2007
-# by libs/config/tools/generate.cpp
-# Copyright John Maddock.
+# Copyright John Maddock 2008.
# Use, modification and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -11,349 +7,36 @@
# If you need to alter build preferences then set them in
# the template defined in options_v2.jam.
#
-path-constant DOT : . ;
-include $(DOT)/options_v2.jam ;
-
-run config_info.cpp ;
-run math_info.cpp : : : <toolset>borland:<runtime-link>static <toolset>borland:<link>static ;
-run config_test.cpp ;
-run limits_test.cpp ../../test/build//boost_test_exec_monitor ;
-run abi/abi_test.cpp abi/main.cpp ;
-
-test-suite "BOOST_HAS_TWO_ARG_USE_FACET" :
-[ run has_2arg_use_facet_pass.cpp ]
-[ compile-fail has_2arg_use_facet_fail.cpp ] ;
-test-suite "BOOST_HAS_BETHREADS" :
-[ run has_bethreads_pass.cpp ]
-[ compile-fail has_bethreads_fail.cpp ] ;
-test-suite "BOOST_HAS_CLOCK_GETTIME" :
-[ run has_clock_gettime_pass.cpp ]
-[ compile-fail has_clock_gettime_fail.cpp ] ;
-test-suite "BOOST_HAS_CONCEPTS" :
-[ run has_concepts_pass.cpp ]
-[ compile-fail has_concepts_fail.cpp ] ;
-test-suite "BOOST_HAS_DIRENT_H" :
-[ run has_dirent_h_pass.cpp ]
-[ compile-fail has_dirent_h_fail.cpp ] ;
-test-suite "BOOST_HAS_EXPM1" :
-[ run has_expm1_pass.cpp ]
-[ compile-fail has_expm1_fail.cpp ] ;
-test-suite "BOOST_HAS_FTIME" :
-[ run has_ftime_pass.cpp ]
-[ compile-fail has_ftime_fail.cpp ] ;
-test-suite "BOOST_HAS_GETTIMEOFDAY" :
-[ run has_gettimeofday_pass.cpp ]
-[ compile-fail has_gettimeofday_fail.cpp ] ;
-test-suite "BOOST_HAS_HASH" :
-[ run has_hash_pass.cpp ]
-[ compile-fail has_hash_fail.cpp ] ;
-test-suite "BOOST_HAS_LOG1P" :
-[ run has_log1p_pass.cpp ]
-[ compile-fail has_log1p_fail.cpp ] ;
-test-suite "BOOST_HAS_LONG_LONG" :
-[ run has_long_long_pass.cpp ]
-[ compile-fail has_long_long_fail.cpp ] ;
-test-suite "BOOST_HAS_MACRO_USE_FACET" :
-[ run has_macro_use_facet_pass.cpp ]
-[ compile-fail has_macro_use_facet_fail.cpp ] ;
-test-suite "BOOST_HAS_MS_INT64" :
-[ run has_ms_int64_pass.cpp ]
-[ compile-fail has_ms_int64_fail.cpp ] ;
-test-suite "BOOST_HAS_NANOSLEEP" :
-[ run has_nanosleep_pass.cpp ]
-[ compile-fail has_nanosleep_fail.cpp ] ;
-test-suite "BOOST_HAS_NL_TYPES_H" :
-[ run has_nl_types_h_pass.cpp ]
-[ compile-fail has_nl_types_h_fail.cpp ] ;
-test-suite "BOOST_HAS_NRVO" :
-[ run has_nrvo_pass.cpp ]
-[ compile-fail has_nrvo_fail.cpp ] ;
-test-suite "BOOST_HAS_PARTIAL_STD_ALLOCATOR" :
-[ run has_part_alloc_pass.cpp ]
-[ compile-fail has_part_alloc_fail.cpp ] ;
-test-suite "BOOST_HAS_PTHREADS" :
-[ run has_pthreads_pass.cpp ]
-[ compile-fail has_pthreads_fail.cpp ] ;
-test-suite "BOOST_HAS_PTHREAD_DELAY_NP" :
-[ run has_pthread_delay_np_pass.cpp ]
-[ compile-fail has_pthread_delay_np_fail.cpp ] ;
-test-suite "BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE" :
-[ run has_pthread_ma_st_pass.cpp ]
-[ compile-fail has_pthread_ma_st_fail.cpp ] ;
-test-suite "BOOST_HAS_PTHREAD_YIELD" :
-[ run has_pthread_yield_pass.cpp ]
-[ compile-fail has_pthread_yield_fail.cpp ] ;
-test-suite "BOOST_HAS_RVALUE_REFS" :
-[ run has_rvalue_refs_pass.cpp ]
-[ compile-fail has_rvalue_refs_fail.cpp ] ;
-test-suite "BOOST_HAS_SCHED_YIELD" :
-[ run has_sched_yield_pass.cpp ]
-[ compile-fail has_sched_yield_fail.cpp ] ;
-test-suite "BOOST_HAS_SGI_TYPE_TRAITS" :
-[ run has_sgi_type_traits_pass.cpp ]
-[ compile-fail has_sgi_type_traits_fail.cpp ] ;
-test-suite "BOOST_HAS_SIGACTION" :
-[ run has_sigaction_pass.cpp ]
-[ compile-fail has_sigaction_fail.cpp ] ;
-test-suite "BOOST_HAS_SLIST" :
-[ run has_slist_pass.cpp ]
-[ compile-fail has_slist_fail.cpp ] ;
-test-suite "BOOST_HAS_STATIC_ASSERT" :
-[ run has_static_assert_pass.cpp ]
-[ compile-fail has_static_assert_fail.cpp ] ;
-test-suite "BOOST_HAS_STDINT_H" :
-[ run has_stdint_h_pass.cpp ]
-[ compile-fail has_stdint_h_fail.cpp ] ;
-test-suite "BOOST_HAS_STLP_USE_FACET" :
-[ run has_stlp_use_facet_pass.cpp ]
-[ compile-fail has_stlp_use_facet_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_ARRAY" :
-[ run has_tr1_array_pass.cpp ]
-[ compile-fail has_tr1_array_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_BIND" :
-[ run has_tr1_bind_pass.cpp ]
-[ compile-fail has_tr1_bind_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_COMPLEX_OVERLOADS" :
-[ run has_tr1_complex_over_pass.cpp ]
-[ compile-fail has_tr1_complex_over_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG" :
-[ run has_tr1_complex_trig_pass.cpp ]
-[ compile-fail has_tr1_complex_trig_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_FUNCTION" :
-[ run has_tr1_function_pass.cpp ]
-[ compile-fail has_tr1_function_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_HASH" :
-[ run has_tr1_hash_pass.cpp ]
-[ compile-fail has_tr1_hash_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_MEM_FN" :
-[ run has_tr1_mem_fn_pass.cpp ]
-[ compile-fail has_tr1_mem_fn_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_RANDOM" :
-[ run has_tr1_random_pass.cpp ]
-[ compile-fail has_tr1_random_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_REFERENCE_WRAPPER" :
-[ run has_tr1_ref_wrap_pass.cpp ]
-[ compile-fail has_tr1_ref_wrap_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_REGEX" :
-[ run has_tr1_regex_pass.cpp ]
-[ compile-fail has_tr1_regex_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_RESULT_OF" :
-[ run has_tr1_result_of_pass.cpp ]
-[ compile-fail has_tr1_result_of_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_SHARED_PTR" :
-[ run has_tr1_shared_ptr_pass.cpp ]
-[ compile-fail has_tr1_shared_ptr_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_TUPLE" :
-[ run has_tr1_tuple_pass.cpp ]
-[ compile-fail has_tr1_tuple_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_TYPE_TRAITS" :
-[ run has_tr1_type_traits_pass.cpp ]
-[ compile-fail has_tr1_type_traits_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_UNORDERED_MAP" :
-[ run has_tr1_unordered_map_pass.cpp ]
-[ compile-fail has_tr1_unordered_map_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_UNORDERED_SET" :
-[ run has_tr1_unordered_set_pass.cpp ]
-[ compile-fail has_tr1_unordered_set_fail.cpp ] ;
-test-suite "BOOST_HAS_TR1_UTILITY" :
-[ run has_tr1_utility_pass.cpp ]
-[ compile-fail has_tr1_utility_fail.cpp ] ;
-test-suite "BOOST_HAS_UNISTD_H" :
-[ run has_unistd_h_pass.cpp ]
-[ compile-fail has_unistd_h_fail.cpp ] ;
-test-suite "BOOST_HAS_VARIADIC_TMPL" :
-[ run has_variadic_tmpl_pass.cpp ]
-[ compile-fail has_variadic_tmpl_fail.cpp ] ;
-test-suite "BOOST_MSVC6_MEMBER_TEMPLATES" :
-[ run has_vc6_mem_templ_pass.cpp ]
-[ compile-fail has_vc6_mem_templ_fail.cpp ] ;
-test-suite "BOOST_MSVC_STD_ITERATOR" :
-[ run has_vc_iterator_pass.cpp ]
-[ compile-fail has_vc_iterator_fail.cpp ] ;
-test-suite "BOOST_HAS_WINTHREADS" :
-[ run has_winthreads_pass.cpp ]
-[ compile-fail has_winthreads_fail.cpp ] ;
-test-suite "BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP" :
-[ run no_arg_dep_lookup_pass.cpp ]
-[ compile-fail no_arg_dep_lookup_fail.cpp ] ;
-test-suite "BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS" :
-[ run no_array_type_spec_pass.cpp ]
-[ compile-fail no_array_type_spec_fail.cpp ] ;
-test-suite "BOOST_NO_AUTO_PTR" :
-[ run no_auto_ptr_pass.cpp ]
-[ compile-fail no_auto_ptr_fail.cpp ] ;
-test-suite "BOOST_BCB_PARTIAL_SPECIALIZATION_BUG" :
-[ run no_bcb_partial_spec_pass.cpp ]
-[ compile-fail no_bcb_partial_spec_fail.cpp ] ;
-test-suite "BOOST_NO_CTYPE_FUNCTIONS" :
-[ run no_ctype_functions_pass.cpp ]
-[ compile-fail no_ctype_functions_fail.cpp ] ;
-test-suite "BOOST_NO_CV_SPECIALIZATIONS" :
-[ run no_cv_spec_pass.cpp ]
-[ compile-fail no_cv_spec_fail.cpp ] ;
-test-suite "BOOST_NO_CV_VOID_SPECIALIZATIONS" :
-[ run no_cv_void_spec_pass.cpp ]
-[ compile-fail no_cv_void_spec_fail.cpp ] ;
-test-suite "BOOST_NO_CWCHAR" :
-[ run no_cwchar_pass.cpp ]
-[ compile-fail no_cwchar_fail.cpp ] ;
-test-suite "BOOST_NO_CWCTYPE" :
-[ run no_cwctype_pass.cpp ]
-[ compile-fail no_cwctype_fail.cpp ] ;
-test-suite "BOOST_DEDUCED_TYPENAME" :
-[ run no_ded_typename_pass.cpp ]
-[ compile-fail no_ded_typename_fail.cpp ] ;
-test-suite "BOOST_NO_DEPENDENT_NESTED_DERIVATIONS" :
-[ run no_dep_nested_class_pass.cpp ]
-[ compile-fail no_dep_nested_class_fail.cpp ] ;
-test-suite "BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS" :
-[ run no_dep_val_param_pass.cpp ]
-[ compile-fail no_dep_val_param_fail.cpp ] ;
-test-suite "BOOST_NO_EXCEPTIONS" :
-[ run no_exceptions_pass.cpp ]
-[ compile-fail no_exceptions_fail.cpp ] ;
-test-suite "BOOST_NO_EXCEPTION_STD_NAMESPACE" :
-[ run no_excep_std_pass.cpp ]
-[ compile-fail no_excep_std_fail.cpp ] ;
-test-suite "BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS" :
-[ run no_exp_func_tem_arg_pass.cpp ]
-[ compile-fail no_exp_func_tem_arg_fail.cpp ] ;
-test-suite "BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS" :
-[ run no_function_type_spec_pass.cpp ]
-[ compile-fail no_function_type_spec_fail.cpp ] ;
-test-suite "BOOST_NO_FUNCTION_TEMPLATE_ORDERING" :
-[ run no_func_tmp_order_pass.cpp ]
-[ compile-fail no_func_tmp_order_fail.cpp ] ;
-test-suite "BOOST_NO_MS_INT64_NUMERIC_LIMITS" :
-[ run no_i64_limits_pass.cpp ]
-[ compile-fail no_i64_limits_fail.cpp ] ;
-test-suite "BOOST_NO_INCLASS_MEMBER_INITIALIZATION" :
-[ run no_inline_memb_init_pass.cpp ]
-[ compile-fail no_inline_memb_init_fail.cpp ] ;
-test-suite "BOOST_NO_INTEGRAL_INT64_T" :
-[ run no_integral_int64_t_pass.cpp ]
-[ compile-fail no_integral_int64_t_fail.cpp ] ;
-test-suite "BOOST_NO_IOSFWD" :
-[ run no_iosfwd_pass.cpp ]
-[ compile-fail no_iosfwd_fail.cpp ] ;
-test-suite "BOOST_NO_IOSTREAM" :
-[ run no_iostream_pass.cpp ]
-[ compile-fail no_iostream_fail.cpp ] ;
-test-suite "BOOST_NO_IS_ABSTRACT" :
-[ run no_is_abstract_pass.cpp ]
-[ compile-fail no_is_abstract_fail.cpp ] ;
-test-suite "BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS" :
-[ run no_iter_construct_pass.cpp ]
-[ compile-fail no_iter_construct_fail.cpp ] ;
-test-suite "BOOST_NO_LIMITS" :
-[ run no_limits_pass.cpp ]
-[ compile-fail no_limits_fail.cpp ] ;
-test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
-[ run no_limits_const_exp_pass.cpp ]
-[ compile-fail no_limits_const_exp_fail.cpp ] ;
-test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
-[ run no_ll_limits_pass.cpp ]
-[ compile-fail no_ll_limits_fail.cpp ] ;
-test-suite "BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS" :
-[ run no_mem_func_spec_pass.cpp ]
-[ compile-fail no_mem_func_spec_fail.cpp ] ;
-test-suite "BOOST_NO_MEMBER_TEMPLATES" :
-[ run no_mem_templates_pass.cpp ]
-[ compile-fail no_mem_templates_fail.cpp ] ;
-test-suite "BOOST_NO_MEMBER_TEMPLATE_FRIENDS" :
-[ run no_mem_templ_frnds_pass.cpp ]
-[ compile-fail no_mem_templ_frnds_fail.cpp ] ;
-test-suite "BOOST_NO_MEMBER_TEMPLATE_KEYWORD" :
-[ run no_mem_tem_keyword_pass.cpp ]
-[ compile-fail no_mem_tem_keyword_fail.cpp ] ;
-test-suite "BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" :
-[ run no_mem_tem_pnts_pass.cpp ]
-[ compile-fail no_mem_tem_pnts_fail.cpp ] ;
-test-suite "BOOST_NO_OPERATORS_IN_NAMESPACE" :
-[ run no_ops_in_namespace_pass.cpp ]
-[ compile-fail no_ops_in_namespace_fail.cpp ] ;
-test-suite "BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION" :
-[ run no_partial_spec_pass.cpp ]
-[ compile-fail no_partial_spec_fail.cpp ] ;
-test-suite "BOOST_NO_PRIVATE_IN_AGGREGATE" :
-[ run no_priv_aggregate_pass.cpp ]
-[ compile-fail no_priv_aggregate_fail.cpp ] ;
-test-suite "BOOST_NO_POINTER_TO_MEMBER_CONST" :
-[ run no_ptr_mem_const_pass.cpp ]
-[ compile-fail no_ptr_mem_const_fail.cpp ] ;
-test-suite "BOOST_NO_UNREACHABLE_RETURN_DETECTION" :
-[ run no_ret_det_pass.cpp ]
-[ compile-fail no_ret_det_fail.cpp ] ;
-test-suite "BOOST_NO_SFINAE" :
-[ run no_sfinae_pass.cpp ]
-[ compile-fail no_sfinae_fail.cpp ] ;
-test-suite "BOOST_NO_STRINGSTREAM" :
-[ run no_sstream_pass.cpp ]
-[ compile-fail no_sstream_fail.cpp ] ;
-test-suite "BOOST_NO_STDC_NAMESPACE" :
-[ run no_stdc_namespace_pass.cpp ]
-[ compile-fail no_stdc_namespace_fail.cpp ] ;
-test-suite "BOOST_NO_STD_ALLOCATOR" :
-[ run no_std_allocator_pass.cpp ]
-[ compile-fail no_std_allocator_fail.cpp ] ;
-test-suite "BOOST_NO_STD_DISTANCE" :
-[ run no_std_distance_pass.cpp ]
-[ compile-fail no_std_distance_fail.cpp ] ;
-test-suite "BOOST_NO_STD_ITERATOR" :
-[ run no_std_iterator_pass.cpp ]
-[ compile-fail no_std_iterator_fail.cpp ] ;
-test-suite "BOOST_NO_STD_ITERATOR_TRAITS" :
-[ run no_std_iter_traits_pass.cpp ]
-[ compile-fail no_std_iter_traits_fail.cpp ] ;
-test-suite "BOOST_NO_STD_LOCALE" :
-[ run no_std_locale_pass.cpp ]
-[ compile-fail no_std_locale_fail.cpp ] ;
-test-suite "BOOST_NO_STD_MESSAGES" :
-[ run no_std_messages_pass.cpp ]
-[ compile-fail no_std_messages_fail.cpp ] ;
-test-suite "BOOST_NO_STD_MIN_MAX" :
-[ run no_std_min_max_pass.cpp ]
-[ compile-fail no_std_min_max_fail.cpp ] ;
-test-suite "BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN" :
-[ run no_std_oi_assign_pass.cpp ]
-[ compile-fail no_std_oi_assign_fail.cpp ] ;
-test-suite "BOOST_NO_STD_TYPEINFO" :
-[ run no_std_typeinfo_pass.cpp ]
-[ compile-fail no_std_typeinfo_fail.cpp ] ;
-test-suite "BOOST_NO_STD_USE_FACET" :
-[ run no_std_use_facet_pass.cpp ]
-[ compile-fail no_std_use_facet_fail.cpp ] ;
-test-suite "BOOST_NO_STD_WSTREAMBUF" :
-[ run no_std_wstreambuf_pass.cpp ]
-[ compile-fail no_std_wstreambuf_fail.cpp ] ;
-test-suite "BOOST_NO_STD_WSTRING" :
-[ run no_std_wstring_pass.cpp ]
-[ compile-fail no_std_wstring_fail.cpp ] ;
-test-suite "BOOST_NO_SWPRINTF" :
-[ run no_swprintf_pass.cpp ]
-[ compile-fail no_swprintf_fail.cpp ] ;
-test-suite "BOOST_NO_TEMPLATE_TEMPLATES" :
-[ run no_template_template_pass.cpp ]
-[ compile-fail no_template_template_fail.cpp ] ;
-test-suite "BOOST_NO_TWO_PHASE_NAME_LOOKUP" :
-[ run no_two_phase_lookup_pass.cpp ]
-[ compile-fail no_two_phase_lookup_fail.cpp ] ;
-test-suite "BOOST_NO_TYPEID" :
-[ run no_typeid_pass.cpp ]
-[ compile-fail no_typeid_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 ] ;
-test-suite "BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE" :
-[ run no_using_decl_overld_pass.cpp ]
-[ compile-fail no_using_decl_overld_fail.cpp ] ;
-test-suite "BOOST_NO_USING_TEMPLATE" :
-[ run no_using_template_pass.cpp ]
-[ compile-fail no_using_template_fail.cpp ] ;
-test-suite "BOOST_NO_VOID_RETURNS" :
-[ run no_void_returns_pass.cpp ]
-[ compile-fail no_void_returns_fail.cpp ] ;
-test-suite "BOOST_NO_INTRINSIC_WCHAR_T" :
-[ run no_wchar_t_pass.cpp ]
-[ compile-fail no_wchar_t_fail.cpp ] ;
-
+test-suite config
+ :
+ [ run config_test.cpp
+ : #args
+ : #input-files
+ : #requirements
+ <threading>multi
+ : config_test_threaded
+ ]
+ [ run config_test.cpp
+ : #args
+ : #input-files
+ : #requirements
+ <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static
+ ]
+ [ run config_info.cpp : : : <test-info>always_show_run_output <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static ]
+ [ run config_info.cpp : : : <test-info>always_show_run_output <threading>multi : config_info_threaded ]
+ [ run math_info.cpp : : : <test-info>always_show_run_output <toolset>borland:<runtime-link>static <toolset>borland:<link>static ]
+ [ run abi/abi_test.cpp abi/main.cpp ]
+ [ run limits_test.cpp ../../test/build//boost_test_exec_monitor ]
+ [ run link/main.cpp link//link_test
+ : #args
+ : #input-files
+ : #requirements
+ <runtime-link>shared
+ <define>BOOST_DYN_LINK=1
+ <define>BOOST_CONFIG_NO_LIB=1
+ :
+ config_link_test
+ ]
+ [ compile-fail threads/test_thread_fail1.cpp ]
+ [ compile-fail threads/test_thread_fail2.cpp ]
+ ;
Modified: branches/release/libs/config/test/boost_has_pthreads.ipp
==============================================================================
--- branches/release/libs/config/test/boost_has_pthreads.ipp (original)
+++ branches/release/libs/config/test/boost_has_pthreads.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -14,17 +14,46 @@
namespace boost_has_pthreads{
+extern "C" void* thread_proc(void* arg)
+{
+ return arg;
+}
+
int test()
{
pthread_mutex_t mut;
int result = pthread_mutex_init(&mut, 0);
if(0 == result)
{
- pthread_mutex_lock(&mut);
- pthread_mutex_unlock(&mut);
- pthread_mutex_destroy(&mut);
+ //
+ // Failure to be able to create and use a mutex
+ // is always a failure, even if the pthread
+ // library is just a non-functioning stub.
+ //
+ result |= pthread_mutex_lock(&mut);
+ result |= pthread_mutex_unlock(&mut);
+ result |= pthread_mutex_trylock(&mut);
+ result |= pthread_mutex_unlock(&mut);
+ result |= pthread_mutex_destroy(&mut);
+ //
+ // Try and create a thread, this is allowed
+ // to fail, in case we are linking to a pthread
+ // "stub" library.
+ //
+ pthread_t t;
+ int r = pthread_create(&t, 0, &thread_proc, 0);
+ // result |= r;
+ if(r == 0)
+ {
+ //
+ // If we can create a thread, then we must be able to join to it:
+ //
+ void* arg;
+ r = pthread_join(t, &arg);
+ result |= r;
+ }
}
- return 0;
+ return result;
}
}
Modified: branches/release/libs/config/test/boost_has_tr1_function.ipp
==============================================================================
--- branches/release/libs/config/test/boost_has_tr1_function.ipp (original)
+++ branches/release/libs/config/test/boost_has_tr1_function.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -11,7 +11,7 @@
#include <functional>
-namespace boost_has_tr1_bind{
+namespace boost_has_tr1_function{
using std::tr1::function;
Modified: branches/release/libs/config/test/boost_has_tr1_result_of.ipp
==============================================================================
--- branches/release/libs/config/test/boost_has_tr1_result_of.ipp (original)
+++ branches/release/libs/config/test/boost_has_tr1_result_of.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -14,7 +14,7 @@
namespace boost_has_tr1_result_of{
typedef std::tr1::result_of<int*(int)> r;
-typedef typename r::type rr;
+typedef r::type rr;
int test()
{
Modified: branches/release/libs/config/test/boost_no_bcb_partial_spec.ipp
==============================================================================
--- branches/release/libs/config/test/boost_no_bcb_partial_spec.ipp (original)
+++ branches/release/libs/config/test/boost_no_bcb_partial_spec.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,4 +1,4 @@
-// (C) Copyright Terje Slettebø 2002.
+// (C) Copyright Terje Slettebo 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/libs/config/test/boost_no_mem_tem_pnts.ipp
==============================================================================
--- branches/release/libs/config/test/boost_no_mem_tem_pnts.ipp (original)
+++ branches/release/libs/config/test/boost_no_mem_tem_pnts.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,4 +1,4 @@
-// Copyright (C) Joaquín M López Muñoz 2004.
+// Copyright (C) Joaquin M Lopez Munoz 2004.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/libs/config/test/boost_no_sfinae.ipp
==============================================================================
--- branches/release/libs/config/test/boost_no_sfinae.ipp (original)
+++ branches/release/libs/config/test/boost_no_sfinae.ipp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,5 +1,5 @@
// (C) Copyright Eric Friedman 2003.
-// Some modifications by Jeremiah Willcock and Jaakko Järvi.
+// Some modifications by Jeremiah Willcock and Jaakko Jarvi.
// Use, modification, and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
Modified: branches/release/libs/config/test/config_info.cpp
==============================================================================
--- branches/release/libs/config/test/config_info.cpp (original)
+++ branches/release/libs/config/test/config_info.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -952,6 +952,7 @@
PRINT_MACRO(BOOST_HAS_WINTHREADS);
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
+ PRINT_MACRO(BOOST_NO_ADL_BARRIER);
PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS);
PRINT_MACRO(BOOST_NO_AUTO_PTR);
@@ -982,6 +983,7 @@
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
+ PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS);
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS);
PRINT_MACRO(BOOST_NO_PRIVATE_IN_AGGREGATE);
@@ -1001,6 +1003,7 @@
PRINT_MACRO(BOOST_NO_STD_WSTRING);
PRINT_MACRO(BOOST_NO_STRINGSTREAM);
PRINT_MACRO(BOOST_NO_SWPRINTF);
+ PRINT_MACRO(BOOST_NO_TEMPLATED_IOSTREAMS);
PRINT_MACRO(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS);
PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION);
PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES);
@@ -1019,6 +1022,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
// END GENERATED BLOCK
PRINT_MACRO(BOOST_INTEL);
Modified: branches/release/libs/config/test/config_test.cpp
==============================================================================
--- branches/release/libs/config/test/config_test.cpp (original)
+++ branches/release/libs/config/test/config_test.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,4 +1,4 @@
-// This file was automatically generated on Fri Oct 19 13:34:11 2007
+// This file was automatically generated on Sat Jul 12 12:39:34 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
@@ -22,6 +22,11 @@
int error_count = 0;
+#ifndef BOOST_NO_ADL_BARRIER
+#include "boost_no_adl_barrier.ipp"
+#else
+namespace boost_no_adl_barrier = empty_boost;
+#endif
#ifndef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
#include "boost_no_arg_dep_lookup.ipp"
#else
@@ -192,6 +197,11 @@
#else
namespace boost_no_template_partial_specialization = empty_boost;
#endif
+#ifndef BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
+#include "boost_no_part_spec_def_args.ipp"
+#else
+namespace boost_no_partial_specialization_implicit_default_args = empty_boost;
+#endif
#ifndef BOOST_NO_PRIVATE_IN_AGGREGATE
#include "boost_no_priv_aggregate.ipp"
#else
@@ -287,6 +297,11 @@
#else
namespace boost_no_swprintf = empty_boost;
#endif
+#ifndef BOOST_NO_TEMPLATED_IOSTREAMS
+#include "boost_no_template_streams.ipp"
+#else
+namespace boost_no_templated_iostreams = empty_boost;
+#endif
#ifndef BOOST_NO_TEMPLATE_TEMPLATES
#include "boost_no_template_template.ipp"
#else
@@ -841,6 +856,11 @@
std::cerr << "Failed test for BOOST_HAS_WINTHREADS at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_adl_barrier::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_ADL_BARRIER at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_argument_dependent_lookup::test())
{
std::cerr << "Failed test for BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1011,6 +1031,11 @@
std::cerr << "Failed test for BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_partial_specialization_implicit_default_args::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_private_in_aggregate::test())
{
std::cerr << "Failed test for BOOST_NO_PRIVATE_IN_AGGREGATE at: " << __FILE__ << ":" << __LINE__ << std::endl;
@@ -1106,6 +1131,11 @@
std::cerr << "Failed test for BOOST_NO_SWPRINTF at: " << __FILE__ << ":" << __LINE__ << std::endl;
++error_count;
}
+ if(0 != boost_no_templated_iostreams::test())
+ {
+ std::cerr << "Failed test for BOOST_NO_TEMPLATED_IOSTREAMS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+ ++error_count;
+ }
if(0 != boost_no_template_templates::test())
{
std::cerr << "Failed test for BOOST_NO_TEMPLATE_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl;
Modified: branches/release/libs/config/test/has_tr1_array_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_array_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_array_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:54 2005
+// This file was automatically generated on Sat Jul 12 12:39:31 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_ARRAY
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_ARRAY
Modified: branches/release/libs/config/test/has_tr1_array_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_array_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_array_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:54 2005
+// This file was automatically generated on Sat Jul 12 12:39:31 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_ARRAY
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_ARRAY
Modified: branches/release/libs/config/test/has_tr1_bind_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_bind_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_bind_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:31 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_BIND
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_BIND
Modified: branches/release/libs/config/test/has_tr1_bind_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_bind_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_bind_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:31 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_BIND
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_BIND
Modified: branches/release/libs/config/test/has_tr1_complex_over_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_complex_over_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_complex_over_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Apr 02 11:49:11 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_COMPLEX_OVERLOADS
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_COMPLEX_OVERLOADS
Modified: branches/release/libs/config/test/has_tr1_complex_over_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_complex_over_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_complex_over_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Apr 02 11:49:11 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_COMPLEX_OVERLOADS
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_COMPLEX_OVERLOADS
Modified: branches/release/libs/config/test/has_tr1_complex_trig_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_complex_trig_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_complex_trig_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Apr 02 11:49:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
Modified: branches/release/libs/config/test/has_tr1_complex_trig_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_complex_trig_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_complex_trig_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Apr 02 11:49:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG
Modified: branches/release/libs/config/test/has_tr1_function_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_function_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_function_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Jan 25 15:52:52 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_FUNCTION
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_FUNCTION
Modified: branches/release/libs/config/test/has_tr1_function_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_function_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_function_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Jan 25 15:52:52 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_FUNCTION
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_FUNCTION
Modified: branches/release/libs/config/test/has_tr1_hash_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_hash_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_hash_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_HASH
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_HASH
Modified: branches/release/libs/config/test/has_tr1_hash_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_hash_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_hash_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_HASH
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_HASH
Modified: branches/release/libs/config/test/has_tr1_mem_fn_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_mem_fn_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_mem_fn_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_MEM_FN
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_MEM_FN
Modified: branches/release/libs/config/test/has_tr1_mem_fn_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_mem_fn_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_mem_fn_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_MEM_FN
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_MEM_FN
Modified: branches/release/libs/config/test/has_tr1_random_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_random_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_random_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_RANDOM
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_RANDOM
Modified: branches/release/libs/config/test/has_tr1_random_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_random_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_random_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_RANDOM
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_RANDOM
Modified: branches/release/libs/config/test/has_tr1_ref_wrap_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_ref_wrap_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_ref_wrap_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sun Jan 16 16:06:37 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_REFERENCE_WRAPPER
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_REFERENCE_WRAPPER
Modified: branches/release/libs/config/test/has_tr1_ref_wrap_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_ref_wrap_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_ref_wrap_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sun Jan 16 16:06:37 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_REFERENCE_WRAPPER
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_REFERENCE_WRAPPER
Modified: branches/release/libs/config/test/has_tr1_regex_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_regex_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_regex_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,15 +1,18 @@
-// This file was automatically generated on Sat Apr 02 11:49:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
-// Test file for macro BOOST_HAS_TR1_ARRAY
+
+// Test file for macro BOOST_HAS_TR1_REGEX
// This file should not compile, if it does then
-// BOOST_HAS_TR1_ARRAY should be defined.
+// BOOST_HAS_TR1_REGEX should be defined.
// See file boost_has_tr1_regex.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
@@ -19,9 +22,10 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
-#ifndef BOOST_HAS_TR1_ARRAY
+#ifndef BOOST_HAS_TR1_REGEX
#include "boost_has_tr1_regex.ipp"
#else
#error "this file should not compile"
@@ -29,6 +33,6 @@
int main( int, char *[] )
{
- return boost_has_tr1_array::test();
+ return boost_has_tr1_regex::test();
}
Modified: branches/release/libs/config/test/has_tr1_regex_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_regex_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_regex_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,15 +1,18 @@
-// This file was automatically generated on Sat Apr 02 11:49:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
-// Test file for macro BOOST_HAS_TR1_ARRAY
+
+// Test file for macro BOOST_HAS_TR1_REGEX
// This file should compile, if it does not then
-// BOOST_HAS_TR1_ARRAY should not be defined.
+// BOOST_HAS_TR1_REGEX should not be defined.
// See file boost_has_tr1_regex.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
@@ -19,16 +22,17 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
-#ifdef BOOST_HAS_TR1_ARRAY
+#ifdef BOOST_HAS_TR1_REGEX
#include "boost_has_tr1_regex.ipp"
#else
-namespace boost_has_tr1_array = empty_boost;
+namespace boost_has_tr1_regex = empty_boost;
#endif
int main( int, char *[] )
{
- return boost_has_tr1_array::test();
+ return boost_has_tr1_regex::test();
}
Modified: branches/release/libs/config/test/has_tr1_result_of_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_result_of_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_result_of_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_RESULT_OF
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_RESULT_OF
Modified: branches/release/libs/config/test/has_tr1_result_of_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_result_of_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_result_of_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 24 16:31:49 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_RESULT_OF
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_RESULT_OF
Modified: branches/release/libs/config/test/has_tr1_shared_ptr_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_shared_ptr_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_shared_ptr_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 17 10:49:50 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_SHARED_PTR
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_SHARED_PTR
Modified: branches/release/libs/config/test/has_tr1_shared_ptr_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_shared_ptr_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_shared_ptr_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Mon Jan 17 10:49:50 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_SHARED_PTR
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_SHARED_PTR
Modified: branches/release/libs/config/test/has_tr1_tuple_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_tuple_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_tuple_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_TUPLE
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_TUPLE
Modified: branches/release/libs/config/test/has_tr1_tuple_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_tuple_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_tuple_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_TUPLE
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_TUPLE
Modified: branches/release/libs/config/test/has_tr1_type_traits_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_type_traits_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_type_traits_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_TYPE_TRAITS
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_TYPE_TRAITS
Modified: branches/release/libs/config/test/has_tr1_type_traits_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_type_traits_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_type_traits_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:12 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_TYPE_TRAITS
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_TYPE_TRAITS
Modified: branches/release/libs/config/test/has_tr1_unordered_map_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_unordered_map_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_unordered_map_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UNORDERED_MAP
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_UNORDERED_MAP
Modified: branches/release/libs/config/test/has_tr1_unordered_map_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_unordered_map_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_unordered_map_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UNORDERED_MAP
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_UNORDERED_MAP
Modified: branches/release/libs/config/test/has_tr1_unordered_set_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_unordered_set_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_unordered_set_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UNORDERED_SET
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_UNORDERED_SET
Modified: branches/release/libs/config/test/has_tr1_unordered_set_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_unordered_set_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_unordered_set_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Sat Feb 19 12:29:55 2005
+// This file was automatically generated on Sat Jul 12 12:39:32 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UNORDERED_SET
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_UNORDERED_SET
Modified: branches/release/libs/config/test/has_tr1_utility_fail.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_utility_fail.cpp (original)
+++ branches/release/libs/config/test/has_tr1_utility_fail.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:13 2005
+// This file was automatically generated on Sat Jul 12 12:39:33 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UTILITY
// This file should not compile, if it does then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifndef BOOST_HAS_TR1_UTILITY
Modified: branches/release/libs/config/test/has_tr1_utility_pass.cpp
==============================================================================
--- branches/release/libs/config/test/has_tr1_utility_pass.cpp (original)
+++ branches/release/libs/config/test/has_tr1_utility_pass.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -1,11 +1,14 @@
-// This file was automatically generated on Tue Feb 15 17:34:13 2005
+// This file was automatically generated on Sat Jul 12 12:39:33 2008
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-// See http://www.boost.org/libs/config for the most recent version.
+// See http://www.boost.org/libs/config for the most recent version.//
+// Revision $Id$
+//
+
// Test file for macro BOOST_HAS_TR1_UTILITY
// This file should compile, if it does not then
@@ -19,6 +22,7 @@
#endif
#include <boost/config.hpp>
+#include <boost/tr1/detail/config.hpp>
#include "test.hpp"
#ifdef BOOST_HAS_TR1_UTILITY
Deleted: branches/release/libs/config/test/options.jam
==============================================================================
--- branches/release/libs/config/test/options.jam 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
+++ (empty file)
@@ -1,26 +0,0 @@
-# copyright John Maddock 2003
-# Use, modification and distribution are subject to the
-# Boost Software License, Version 1.0. (See accompanying file
-# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#
-# this template defines the options common to
-# all config builds and tests:
-#
-template config_options
- : # sources
- : # requirements
- <sysinclude>$(BOOST_ROOT)
- # como requires access to <windows.h>:
- <como-win32><*><no-warn>
- # threading tests require thread support turned on:
- <threading>multi
- ;
-
-template config_test_options
- : # sources
- <lib>../../test/build/boost_test_exec_monitor
- <template>config_options
- ;
-
-
Deleted: branches/release/libs/config/test/options_v2.jam
==============================================================================
--- branches/release/libs/config/test/options_v2.jam 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
+++ (empty file)
@@ -1,12 +0,0 @@
-# copyright John Maddock 2003
-# Use, modification and distribution are subject to the
-# Boost Software License, Version 1.0. (See accompanying file
-# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-project
- : requirements
- # threading tests require thread support turned on:
- <threading>multi
- ;
-
-local test-requirements = <library>../../test/build//boost_test_exec_monitor ;
Modified: branches/release/libs/config/tools/generate.cpp
==============================================================================
--- branches/release/libs/config/tools/generate.cpp (original)
+++ branches/release/libs/config/tools/generate.cpp 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -89,33 +89,9 @@
ofs << "int main( int, char *[] )\n{\n" << config_test2.str() << " return error_count;\n}\n\n";
}
-void write_jamfile()
-{
- fs::ofstream ofs(config_path / "Jamfile");
- time_t t = std::time(0);
- ofs << "#\n# Regression test Jamfile for boost configuration setup.\n# *** DO NOT EDIT THIS FILE BY HAND ***\n"
- "# This file was automatically generated on " << std::ctime(&t);
- ofs << "# by libs/config/tools/generate.cpp\n"
- "# Copyright John Maddock.\n"
- "# Use, modification and distribution are subject to the \n"
- "# Boost Software License, Version 1.0. (See accompanying file \n"
- "# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n"
- "#\n# If you need to alter build preferences then set them in\n"
- "# the template defined in options.jam.\n#\n"
- "subproject libs/config/test ;\n"
- "# bring in the rules for testing\n"
- "import testing ./options ;\n\n"
- "run config_info.cpp <template>config_options ;\n"
- "run math_info.cpp <template>config_options : : : <borland><*><runtime-link>static ;\n"
- "run config_test.cpp <template>config_options ;\n"
- "run limits_test.cpp <template>config_test_options ;\n"
- "run abi/abi_test.cpp abi/main.cpp <template>config_options ;\n\n";
- ofs << jamfile.str() << std::endl;
-}
-
void write_jamfile_v2()
{
- fs::ofstream ofs(config_path / "Jamfile.v2");
+ fs::ofstream ofs(config_path / "all" / "Jamfile.v2");
time_t t = std::time(0);
ofs << "#\n# Regression test Jamfile for boost configuration setup.\n# *** DO NOT EDIT THIS FILE BY HAND ***\n"
"# This file was automatically generated on " << std::ctime(&t);
@@ -128,11 +104,13 @@
"# the template defined in options_v2.jam.\n#\n"
"path-constant DOT : . ;\n"
"include $(DOT)/options_v2.jam ;\n\n"
- "run config_info.cpp ;\n"
- "run math_info.cpp : : : <toolset>borland:<runtime-link>static <toolset>borland:<link>static ;\n"
- "run config_test.cpp ;\n"
- "run limits_test.cpp ../../test/build//boost_test_exec_monitor ;\n"
- "run abi/abi_test.cpp abi/main.cpp ;\n\n";
+ "run ../config_info.cpp : : : <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static ;\n"
+ "run ../config_info.cpp : : : <threading>multi : config_info_threaded ;\n"
+ "run ../math_info.cpp : : : <toolset>borland:<runtime-link>static <toolset>borland:<link>static ;\n"
+ "run ../config_test.cpp : : : <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static ;\n"
+ "run ../config_test.cpp : : : <threading>multi : config_test_threaded ;\n"
+ "run ../limits_test.cpp ../../../test/build//boost_test_exec_monitor ;\n"
+ "run ../abi/abi_test.cpp ../abi/main.cpp ;\n\n";
ofs << jamfile_v2.str() << std::endl;
}
@@ -178,8 +156,14 @@
"# undef BOOST_ASSERT_CONFIG\n"
"#endif\n\n";
- ofs << "#include <boost/config.hpp>\n"
- "#include \"test.hpp\"\n\n"
+ static const boost::regex tr1_exp("BOOST_HAS_TR1.*");
+
+ ofs << "#include <boost/config.hpp>\n";
+
+ if(regex_match(macro_name, tr1_exp))
+ ofs << "#include <boost/tr1/detail/config.hpp>\n";
+
+ ofs << "#include \"test.hpp\"\n\n"
"#if";
if(positive_test != expect_success)
ofs << "n";
@@ -263,8 +247,8 @@
"[ compile-fail " << negative_file.leaf() << " <template>config_options ] ;\n";
jamfile_v2 << "test-suite \"" << macro_name << "\" : \n"
- "[ run " << positive_file.leaf() << " ]\n"
- "[ compile-fail " << negative_file.leaf() << " ] ;\n";
+ "[ run ../" << positive_file.leaf() << " ]\n"
+ "[ compile-fail ../" << negative_file.leaf() << " ] ;\n";
}
@@ -292,14 +276,13 @@
fs::directory_iterator i(config_path), j;
while(i != j)
{
- if(boost::regex_match(i->leaf(), ipp_match, ipp_mask))
+ if(boost::regex_match(i->path().leaf(), ipp_match, ipp_mask))
{
process_ipp_file(*i, ipp_match[1].matched);
}
++i;
}
write_config_test();
- write_jamfile();
write_jamfile_v2();
write_config_info();
return 0;
Modified: branches/release/libs/serialization/build/Jamfile.v2
==============================================================================
--- branches/release/libs/serialization/build/Jamfile.v2 (original)
+++ branches/release/libs/serialization/build/Jamfile.v2 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -8,7 +8,7 @@
project boost/serialization
: source-location ../src
- : requirements <dependency>../../config/test//BOOST_NO_STD_LOCALE
+ : requirements <dependency>../../config/test/all//BOOST_NO_STD_LOCALE
<conditional>@include-spirit
;
@@ -100,7 +100,7 @@
: $(WSOURCES).cpp boost_serialization
:
<toolset>msvc:<cxxflags>/Gy
- <dependency>../../config/test//BOOST_NO_STD_WSTREAMBUF
+ <dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF
<link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
;
Modified: branches/release/libs/serialization/test/Jamfile.v2
==============================================================================
--- branches/release/libs/serialization/test/Jamfile.v2 (original)
+++ branches/release/libs/serialization/test/Jamfile.v2 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -84,11 +84,11 @@
[ test-bsl-run-no-lib test_utf8_codecvt
: ../src/utf8_codecvt_facet
- : <dependency>../../config/test//BOOST_NO_STD_WSTREAMBUF
+ : <dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF
]
[ test-bsl-run-no-lib test_codecvt_null
: ../src/codecvt_null
- : <dependency>../../config/test//BOOST_NO_STD_WSTREAMBUF
+ : <dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF
]
# should fail compilation
Modified: branches/release/libs/serialization/util/test.jam
==============================================================================
--- branches/release/libs/serialization/util/test.jam (original)
+++ branches/release/libs/serialization/util/test.jam 2008-07-15 06:41:52 EDT (Tue, 15 Jul 2008)
@@ -94,7 +94,7 @@
# both stlport and msvc6 define iswspace
<toolset>msvc,<stdlib>stlport:<linkflags>"-force:multiple"
<dependency>$(save-test)
- <dependency>../../config/test//BOOST_NO_STD_WSTREAMBUF
+ <dependency>../../config/test/all//BOOST_NO_STD_WSTREAMBUF
] ;
return $(tests) ;
}
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