Update for bug report #1790.

[SVN r44127]
This commit is contained in:
John Maddock
2008-04-09 15:31:33 +00:00
parent 9c70289360
commit b62d7ccb27
5 changed files with 22 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# #
# Regression test Jamfile for boost configuration setup. # Regression test Jamfile for boost configuration setup.
# *** DO NOT EDIT THIS FILE BY HAND *** # *** DO NOT EDIT THIS FILE BY HAND ***
# This file was automatically generated on Wed Apr 09 12:31:02 2008 # This file was automatically generated on Wed Apr 09 16:30:14 2008
# by libs/config/tools/generate.cpp # by libs/config/tools/generate.cpp
# Copyright John Maddock. # Copyright John Maddock.
# Use, modification and distribution are subject to the # Use, modification and distribution are subject to the

View File

@ -1023,6 +1023,7 @@ void print_boost_macros()
// END GENERATED BLOCK // END GENERATED BLOCK
PRINT_MACRO(BOOST_INTEL); PRINT_MACRO(BOOST_INTEL);

View File

@ -1,4 +1,4 @@
// This file was automatically generated on Wed Apr 09 12:31:02 2008 // This file was automatically generated on Wed Apr 09 16:30:14 2008
// by libs/config/tools/generate.cpp // by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4. // Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the // Use, modification and distribution are subject to the

View File

@ -1,15 +1,18 @@
// This file was automatically generated on Sat Apr 02 11:49:12 2005 // This file was automatically generated on Wed Apr 09 16:30:13 2008
// by libs/config/tools/generate.cpp // by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4. // Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the // Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file // Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // 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 // 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 // See file boost_has_tr1_regex.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats // Must not have BOOST_ASSERT_CONFIG set; it defeats
@ -21,7 +24,7 @@
#include <boost/config.hpp> #include <boost/config.hpp>
#include "test.hpp" #include "test.hpp"
#ifndef BOOST_HAS_TR1_ARRAY #ifndef BOOST_HAS_TR1_REGEX
#include "boost_has_tr1_regex.ipp" #include "boost_has_tr1_regex.ipp"
#else #else
#error "this file should not compile" #error "this file should not compile"
@ -29,6 +32,6 @@
int main( int, char *[] ) int main( int, char *[] )
{ {
return boost_has_tr1_array::test(); return boost_has_tr1_regex::test();
} }

View File

@ -1,15 +1,18 @@
// This file was automatically generated on Sat Apr 02 11:49:12 2005 // This file was automatically generated on Wed Apr 09 16:30:13 2008
// by libs/config/tools/generate.cpp // by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4. // Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the // Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file // Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // 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 // 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 // See file boost_has_tr1_regex.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats // Must not have BOOST_ASSERT_CONFIG set; it defeats
@ -21,14 +24,14 @@
#include <boost/config.hpp> #include <boost/config.hpp>
#include "test.hpp" #include "test.hpp"
#ifdef BOOST_HAS_TR1_ARRAY #ifdef BOOST_HAS_TR1_REGEX
#include "boost_has_tr1_regex.ipp" #include "boost_has_tr1_regex.ipp"
#else #else
namespace boost_has_tr1_array = empty_boost; namespace boost_has_tr1_regex = empty_boost;
#endif #endif
int main( int, char *[] ) int main( int, char *[] )
{ {
return boost_has_tr1_array::test(); return boost_has_tr1_regex::test();
} }