mirror of
https://github.com/boostorg/config.git
synced 2026-05-04 20:04:11 +02:00
Fixes for http://svn.boost.org/trac/boost/ticket/1104, http://svn.boost.org/trac/boost/ticket/1102, http://svn.boost.org/trac/boost/ticket/1103 and http://svn.boost.org/trac/boost/ticket/1105.
Also updated tests for some previous macro additions. [SVN r38934]
This commit is contained in:
+26
-4
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Regression test Jamfile for boost configuration setup.
|
||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||
# This file was automatically generated on Mon Jan 01 12:39:24 2007
|
||||
# This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
# by libs/config/tools/generate.cpp
|
||||
# Copyright John Maddock.
|
||||
# Use, modification and distribution are subject to the
|
||||
@@ -17,7 +17,7 @@ include $(DOT)/options_v2.jam ;
|
||||
run config_info.cpp ;
|
||||
run math_info.cpp : : : <toolset>borland:<runtime-link>static ;
|
||||
run config_test.cpp ;
|
||||
run limits_test.cpp ../../test/build//boost_test_exec_monitor ;
|
||||
run limits_test.cpp ;
|
||||
run abi/abi_test.cpp abi/main.cpp ;
|
||||
|
||||
test-suite "BOOST_HAS_TWO_ARG_USE_FACET" :
|
||||
@@ -29,6 +29,9 @@ test-suite "BOOST_HAS_BETHREADS" :
|
||||
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 ] ;
|
||||
@@ -80,6 +83,9 @@ test-suite "BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE" :
|
||||
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 ] ;
|
||||
@@ -92,6 +98,9 @@ test-suite "BOOST_HAS_SIGACTION" :
|
||||
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 ] ;
|
||||
@@ -152,6 +161,9 @@ test-suite "BOOST_HAS_TR1_UTILITY" :
|
||||
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 ] ;
|
||||
@@ -221,6 +233,12 @@ test-suite "BOOST_NO_INCLASS_MEMBER_INITIALIZATION" :
|
||||
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 ] ;
|
||||
@@ -299,6 +317,9 @@ test-suite "BOOST_NO_STD_MIN_MAX" :
|
||||
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 ] ;
|
||||
@@ -317,6 +338,9 @@ test-suite "BOOST_NO_TEMPLATE_TEMPLATES" :
|
||||
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 ] ;
|
||||
@@ -333,5 +357,3 @@ test-suite "BOOST_NO_INTRINSIC_WCHAR_T" :
|
||||
[ run no_wchar_t_pass.cpp ]
|
||||
[ compile-fail no_wchar_t_fail.cpp ] ;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// (C) Copyright Peter Dimov 2007.
|
||||
// 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 most recent version.
|
||||
|
||||
// MACRO: BOOST_NO_IOSFWD
|
||||
// TITLE: <iosfwd>
|
||||
// DESCRIPTION: The <iosfwd> header is missing
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
namespace boost_no_iosfwd
|
||||
{
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
// (C) Copyright Peter Dimov 2007.
|
||||
// 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 most recent version.
|
||||
|
||||
// MACRO: BOOST_NO_IOSTREAM
|
||||
// TITLE: No iostream support
|
||||
// DESCRIPTION: The <iostream>, <istream>, <ostream> headers are missing
|
||||
|
||||
#include <iostream>
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
|
||||
namespace boost_no_iostream
|
||||
{
|
||||
|
||||
int test()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
// (C) Copyright Peter Dimov 2007.
|
||||
// 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 most recent version.
|
||||
|
||||
// MACRO: BOOST_NO_STD_TYPEINFO
|
||||
// TITLE: type_info not in namespace std
|
||||
// DESCRIPTION: The <typeinfo> header declares type_info in the global namespace instead of std
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
namespace boost_no_std_typeinfo
|
||||
{
|
||||
|
||||
int test()
|
||||
{
|
||||
std::type_info * p = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
// (C) Copyright Peter Dimov 2007.
|
||||
// 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 most recent version.
|
||||
|
||||
// MACRO: BOOST_NO_TYPEID
|
||||
// TITLE: typeid unavailable
|
||||
// DESCRIPTION: The compiler does not support typeid in this mode
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
namespace boost_no_typeid
|
||||
{
|
||||
|
||||
int test()
|
||||
{
|
||||
typeid(int);
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -899,6 +899,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL);
|
||||
PRINT_MACRO(BOOST_HAS_BETHREADS);
|
||||
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
|
||||
PRINT_MACRO(BOOST_HAS_CONCEPTS);
|
||||
PRINT_MACRO(BOOST_HAS_DIRENT_H);
|
||||
PRINT_MACRO(BOOST_HAS_EXPM1);
|
||||
PRINT_MACRO(BOOST_HAS_FTIME);
|
||||
@@ -916,10 +917,12 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE);
|
||||
PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD);
|
||||
PRINT_MACRO(BOOST_HAS_RVALUE_REFS);
|
||||
PRINT_MACRO(BOOST_HAS_SCHED_YIELD);
|
||||
PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS);
|
||||
PRINT_MACRO(BOOST_HAS_SIGACTION);
|
||||
PRINT_MACRO(BOOST_HAS_SLIST);
|
||||
PRINT_MACRO(BOOST_HAS_STATIC_ASSERT);
|
||||
PRINT_MACRO(BOOST_HAS_STDINT_H);
|
||||
PRINT_MACRO(BOOST_HAS_STLP_USE_FACET);
|
||||
PRINT_MACRO(BOOST_HAS_TR1_ARRAY);
|
||||
@@ -941,6 +944,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_HAS_TR1_UTILITY);
|
||||
PRINT_MACRO(BOOST_HAS_TWO_ARG_USE_FACET);
|
||||
PRINT_MACRO(BOOST_HAS_UNISTD_H);
|
||||
PRINT_MACRO(BOOST_HAS_VARIADIC_TMPL);
|
||||
PRINT_MACRO(BOOST_HAS_WINTHREADS);
|
||||
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
|
||||
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
|
||||
@@ -962,6 +966,8 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION);
|
||||
PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T);
|
||||
PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T);
|
||||
PRINT_MACRO(BOOST_NO_IOSFWD);
|
||||
PRINT_MACRO(BOOST_NO_IOSTREAM);
|
||||
PRINT_MACRO(BOOST_NO_IS_ABSTRACT);
|
||||
PRINT_MACRO(BOOST_NO_LIMITS);
|
||||
PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS);
|
||||
@@ -985,6 +991,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_STD_MESSAGES);
|
||||
PRINT_MACRO(BOOST_NO_STD_MIN_MAX);
|
||||
PRINT_MACRO(BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN);
|
||||
PRINT_MACRO(BOOST_NO_STD_TYPEINFO);
|
||||
PRINT_MACRO(BOOST_NO_STD_USE_FACET);
|
||||
PRINT_MACRO(BOOST_NO_STD_WSTREAMBUF);
|
||||
PRINT_MACRO(BOOST_NO_STD_WSTRING);
|
||||
@@ -994,6 +1001,7 @@ void print_boost_macros()
|
||||
PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION);
|
||||
PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES);
|
||||
PRINT_MACRO(BOOST_NO_TWO_PHASE_NAME_LOOKUP);
|
||||
PRINT_MACRO(BOOST_NO_TYPEID);
|
||||
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
||||
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||
@@ -1003,6 +1011,7 @@ void print_boost_macros()
|
||||
|
||||
|
||||
|
||||
|
||||
// END GENERATED BLOCK
|
||||
|
||||
PRINT_MACRO(BOOST_INTEL);
|
||||
|
||||
+81
-1
@@ -1,4 +1,4 @@
|
||||
// This file was automatically generated on Mon Jan 01 12:39:24 2007
|
||||
// This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// Use, modification and distribution are subject to the
|
||||
@@ -119,6 +119,16 @@ namespace boost_no_inclass_member_initialization = empty_boost;
|
||||
#else
|
||||
namespace boost_no_integral_int64_t = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_IOSFWD
|
||||
#include "boost_no_iosfwd.ipp"
|
||||
#else
|
||||
namespace boost_no_iosfwd = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_IOSTREAM
|
||||
#include "boost_no_iostream.ipp"
|
||||
#else
|
||||
namespace boost_no_iostream = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_IS_ABSTRACT
|
||||
#include "boost_no_is_abstract.ipp"
|
||||
#else
|
||||
@@ -249,6 +259,11 @@ namespace boost_no_std_min_max = empty_boost;
|
||||
#else
|
||||
namespace boost_no_std_output_iterator_assign = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_TYPEINFO
|
||||
#include "boost_no_std_typeinfo.ipp"
|
||||
#else
|
||||
namespace boost_no_std_typeinfo = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_STD_USE_FACET
|
||||
#include "boost_no_std_use_facet.ipp"
|
||||
#else
|
||||
@@ -279,6 +294,11 @@ namespace boost_no_template_templates = empty_boost;
|
||||
#else
|
||||
namespace boost_no_two_phase_name_lookup = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_TYPEID
|
||||
#include "boost_no_typeid.ipp"
|
||||
#else
|
||||
namespace boost_no_typeid = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||
#include "boost_no_using_breaks_adl.ipp"
|
||||
#else
|
||||
@@ -320,6 +340,11 @@ namespace boost_has_bethreads = empty_boost;
|
||||
#else
|
||||
namespace boost_has_clock_gettime = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_CONCEPTS
|
||||
#include "boost_has_concepts.ipp"
|
||||
#else
|
||||
namespace boost_has_concepts = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_DIRENT_H
|
||||
#include "boost_has_dirent_h.ipp"
|
||||
#else
|
||||
@@ -405,6 +430,11 @@ namespace boost_has_pthread_mutexattr_settype = empty_boost;
|
||||
#else
|
||||
namespace boost_has_pthread_yield = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_RVALUE_REFS
|
||||
#include "boost_has_rvalue_refs.ipp"
|
||||
#else
|
||||
namespace boost_has_rvalue_refs = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_SCHED_YIELD
|
||||
#include "boost_has_sched_yield.ipp"
|
||||
#else
|
||||
@@ -425,6 +455,11 @@ namespace boost_has_sigaction = empty_boost;
|
||||
#else
|
||||
namespace boost_has_slist = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_STATIC_ASSERT
|
||||
#include "boost_has_static_assert.ipp"
|
||||
#else
|
||||
namespace boost_has_static_assert = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_STDINT_H
|
||||
#include "boost_has_stdint_h.ipp"
|
||||
#else
|
||||
@@ -525,6 +560,11 @@ namespace boost_has_tr1_utility = empty_boost;
|
||||
#else
|
||||
namespace boost_has_unistd_h = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_HAS_VARIADIC_TMPL
|
||||
#include "boost_has_variadic_tmpl.ipp"
|
||||
#else
|
||||
namespace boost_has_variadic_tmpl = empty_boost;
|
||||
#endif
|
||||
#ifdef BOOST_MSVC6_MEMBER_TEMPLATES
|
||||
#include "boost_has_vc6_mem_templ.ipp"
|
||||
#else
|
||||
@@ -558,6 +598,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_HAS_CLOCK_GETTIME at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_concepts::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_CONCEPTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_dirent_h::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_DIRENT_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -643,6 +688,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_HAS_PTHREAD_YIELD at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_rvalue_refs::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_RVALUE_REFS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_sched_yield::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_SCHED_YIELD at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -663,6 +713,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_HAS_SLIST at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_static_assert::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_STATIC_ASSERT at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_stdint_h::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_STDINT_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -763,6 +818,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_HAS_UNISTD_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_has_variadic_tmpl::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_HAS_VARIADIC_TMPL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_msvc6_member_templates::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_MSVC6_MEMBER_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -878,6 +938,16 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_INTEGRAL_INT64_T at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_iosfwd::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_IOSFWD at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_iostream::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_IOSTREAM at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_is_abstract::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_IS_ABSTRACT at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -1008,6 +1078,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_std_typeinfo::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_STD_TYPEINFO at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_std_use_facet::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_STD_USE_FACET at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
@@ -1038,6 +1113,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_TWO_PHASE_NAME_LOOKUP at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_typeid::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_TYPEID at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_function_scope_using_declaration_breaks_adl::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:20 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_CONCEPTS
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_CONCEPTS should be defined.
|
||||
// See file boost_has_concepts.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_CONCEPTS
|
||||
#include "boost_has_concepts.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_concepts::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:20 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_CONCEPTS
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_CONCEPTS should not be defined.
|
||||
// See file boost_has_concepts.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_CONCEPTS
|
||||
#include "boost_has_concepts.ipp"
|
||||
#else
|
||||
namespace boost_has_concepts = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_concepts::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_RVALUE_REFS
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_RVALUE_REFS should be defined.
|
||||
// See file boost_has_rvalue_refs.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_RVALUE_REFS
|
||||
#include "boost_has_rvalue_refs.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_rvalue_refs::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_RVALUE_REFS
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_RVALUE_REFS should not be defined.
|
||||
// See file boost_has_rvalue_refs.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_RVALUE_REFS
|
||||
#include "boost_has_rvalue_refs.ipp"
|
||||
#else
|
||||
namespace boost_has_rvalue_refs = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_rvalue_refs::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_STATIC_ASSERT
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_STATIC_ASSERT should be defined.
|
||||
// See file boost_has_static_assert.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_STATIC_ASSERT
|
||||
#include "boost_has_static_assert.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_static_assert::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_STATIC_ASSERT
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_STATIC_ASSERT should not be defined.
|
||||
// See file boost_has_static_assert.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_STATIC_ASSERT
|
||||
#include "boost_has_static_assert.ipp"
|
||||
#else
|
||||
namespace boost_has_static_assert = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_static_assert::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_VARIADIC_TMPL
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_VARIADIC_TMPL should be defined.
|
||||
// See file boost_has_variadic_tmpl.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_HAS_VARIADIC_TMPL
|
||||
#include "boost_has_variadic_tmpl.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_variadic_tmpl::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_HAS_VARIADIC_TMPL
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_HAS_VARIADIC_TMPL should not be defined.
|
||||
// See file boost_has_variadic_tmpl.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_HAS_VARIADIC_TMPL
|
||||
#include "boost_has_variadic_tmpl.ipp"
|
||||
#else
|
||||
namespace boost_has_variadic_tmpl = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_has_variadic_tmpl::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_IOSFWD
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_IOSFWD should not be defined.
|
||||
// See file boost_no_iosfwd.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_IOSFWD
|
||||
#include "boost_no_iosfwd.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_iosfwd::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_IOSFWD
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_IOSFWD should be defined.
|
||||
// See file boost_no_iosfwd.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_IOSFWD
|
||||
#include "boost_no_iosfwd.ipp"
|
||||
#else
|
||||
namespace boost_no_iosfwd = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_iosfwd::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_IOSTREAM
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_IOSTREAM should not be defined.
|
||||
// See file boost_no_iostream.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_IOSTREAM
|
||||
#include "boost_no_iostream.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_iostream::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:21 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_IOSTREAM
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_IOSTREAM should be defined.
|
||||
// See file boost_no_iostream.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_IOSTREAM
|
||||
#include "boost_no_iostream.ipp"
|
||||
#else
|
||||
namespace boost_no_iostream = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_iostream::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_STD_TYPEINFO
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_STD_TYPEINFO should not be defined.
|
||||
// See file boost_no_std_typeinfo.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_STD_TYPEINFO
|
||||
#include "boost_no_std_typeinfo.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_std_typeinfo::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_STD_TYPEINFO
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_STD_TYPEINFO should be defined.
|
||||
// See file boost_no_std_typeinfo.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_STD_TYPEINFO
|
||||
#include "boost_no_std_typeinfo.ipp"
|
||||
#else
|
||||
namespace boost_no_std_typeinfo = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_std_typeinfo::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_TYPEID
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_TYPEID should not be defined.
|
||||
// See file boost_no_typeid.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_TYPEID
|
||||
#include "boost_no_typeid.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_typeid::test();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
// This file was automatically generated on Sat Aug 25 12:32:22 2007
|
||||
// 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.
|
||||
|
||||
// Test file for macro BOOST_NO_TYPEID
|
||||
// This file should compile, if it does not then
|
||||
// BOOST_NO_TYPEID should be defined.
|
||||
// See file boost_no_typeid.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
#ifdef BOOST_ASSERT_CONFIG
|
||||
# undef BOOST_ASSERT_CONFIG
|
||||
#endif
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef BOOST_NO_TYPEID
|
||||
#include "boost_no_typeid.ipp"
|
||||
#else
|
||||
namespace boost_no_typeid = empty_boost;
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_typeid::test();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user