diff --git a/config.htm b/config.htm index 643d1a9c..c0f42426 100644 --- a/config.htm +++ b/config.htm @@ -624,6 +624,12 @@ f(&bar); // should choose #2. templates. See boost/functional.hpp for example. + + BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS + Compiler + Pointers to members don't work when used as template + parameters. + BOOST_NO_PRIVATE_IN_AGGREGATE Compiler @@ -1319,12 +1325,12 @@ namespace boost{

When you name the macro, follow the BOOST_NO_SOMETHING naming convention, so that it's obvious that this is a macro reporting a defect.

Finally, add the test program to the regression tests. You will need to place - the test case in a .cxx file with the following comments near the top:

+ the test case in a .ipp file with the following comments near the top:

//  MACRO:         BOOST_NO_FOO
 //  TITLE:         foo
 //  DESCRIPTION:   If the compiler fails to support foo

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.cxx", where foo + 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 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 @@ -1349,7 +1355,7 @@ int test()

Adding New Feature Test Macros

When you need to add a macro that describes a feature that the standard does not require, follow the convention for adding a new defect macro (above), but - call the macro BOOST_HAS_FOO, and name the test file "boost_has_foo.cxx". Try + call the macro BOOST_HAS_FOO, and name the test file "boost_has_foo.ipp". Try not to add feature test macros unnecessarily, if there is a platform specific macro that can already be used (for example _WIN32, __BEOS__, or __linux) to identify the feature then use that. Try to keep the macro to a feature group, diff --git a/test/Jamfile b/test/Jamfile index c09533bb..c5634b97 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -1,7 +1,7 @@ # # Regression test Jamfile for boost configuration setup. # *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on Tue Jun 15 11:50:28 GMTST 2004, +# This file was automatically generated on Tue Jun 22 13:14:16 GMTST 2004, # by libs/config/tools/generate # # If you need to alter build preferences then set them in @@ -17,246 +17,248 @@ run limits_test.cpp