forked from boostorg/config
Ran ./generate for BOOST_NO_FUNCTION_TEMPLATE_ORDERING and BOOST_NO_VOID_RETURNS
[SVN r11273]
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
// Do not edit this file, it was generated automatically by
|
// Do not edit this file, it was generated automatically by
|
||||||
// ../tools/generate from boost_*.cxx on
|
// ../tools/generate from boost_*.cxx on
|
||||||
// Mon Sep 24 11:11:14 PDT 2001
|
// Wed Sep 26 15:19:31 EEST 2001
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#define BOOST_INCLUDE_MAIN
|
#define BOOST_INCLUDE_MAIN
|
||||||
@@ -67,10 +67,10 @@ namespace boost_no_dependent_types_in_template_value_parameters = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_explicit_function_template_arguments = empty_boost;
|
namespace boost_no_explicit_function_template_arguments = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
|
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
#include "boost_no_func_tmp_order.cxx"
|
#include "boost_no_func_tmp_order.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_weak_function_template_ordering = empty_boost;
|
namespace boost_no_function_template_ordering = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
#include "boost_no_inline_memb_init.cxx"
|
#include "boost_no_inline_memb_init.cxx"
|
||||||
@@ -82,31 +82,31 @@ namespace boost_no_inclass_member_initialization = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_templated_iterator_constructors = empty_boost;
|
namespace boost_no_templated_iterator_constructors = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_LIMITS
|
|
||||||
#include "boost_no_limits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_limits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
|
||||||
#include "boost_no_limits_const_exp.cxx"
|
#include "boost_no_limits_const_exp.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_limits_compile_time_constants = empty_boost;
|
namespace boost_no_limits_compile_time_constants = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_LIMITS
|
||||||
|
#include "boost_no_limits.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_limits = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
||||||
#include "boost_no_mem_tem_keyword.cxx"
|
#include "boost_no_mem_tem_keyword.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_member_template_keyword = empty_boost;
|
namespace boost_no_member_template_keyword = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
|
||||||
#include "boost_no_mem_templ_frnds.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_member_template_friends = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_MEMBER_TEMPLATES
|
#ifndef BOOST_NO_MEMBER_TEMPLATES
|
||||||
#include "boost_no_mem_templates.cxx"
|
#include "boost_no_mem_templates.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_member_templates = empty_boost;
|
namespace boost_no_member_templates = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
|
#include "boost_no_mem_templ_frnds.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_member_template_friends = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
|
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||||
#include "boost_no_ops_in_namespace.cxx"
|
#include "boost_no_ops_in_namespace.cxx"
|
||||||
#else
|
#else
|
||||||
@@ -137,21 +137,26 @@ namespace boost_no_stringstream = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_std_allocator = empty_boost;
|
namespace boost_no_std_allocator = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_STDC_NAMESPACE
|
||||||
|
#include "boost_no_stdc_namespace.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_stdc_namespace = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_STD_DISTANCE
|
#ifndef BOOST_NO_STD_DISTANCE
|
||||||
#include "boost_no_std_distance.cxx"
|
#include "boost_no_std_distance.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_std_distance = empty_boost;
|
namespace boost_no_std_distance = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
|
|
||||||
#include "boost_no_std_iter_traits.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_std_iterator_traits = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_STD_ITERATOR
|
#ifndef BOOST_NO_STD_ITERATOR
|
||||||
#include "boost_no_std_iterator.cxx"
|
#include "boost_no_std_iterator.cxx"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_std_iterator = empty_boost;
|
namespace boost_no_std_iterator = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
|
||||||
|
#include "boost_no_std_iter_traits.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_std_iterator_traits = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_STD_LOCALE
|
#ifndef BOOST_NO_STD_LOCALE
|
||||||
#include "boost_no_std_locale.cxx"
|
#include "boost_no_std_locale.cxx"
|
||||||
#else
|
#else
|
||||||
@@ -182,11 +187,6 @@ namespace boost_no_std_use_facet = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_std_wstring = empty_boost;
|
namespace boost_no_std_wstring = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_STDC_NAMESPACE
|
|
||||||
#include "boost_no_stdc_namespace.cxx"
|
|
||||||
#else
|
|
||||||
namespace boost_no_stdc_namespace = empty_boost;
|
|
||||||
#endif
|
|
||||||
#ifndef BOOST_NO_SWPRINTF
|
#ifndef BOOST_NO_SWPRINTF
|
||||||
#include "boost_no_swprintf.cxx"
|
#include "boost_no_swprintf.cxx"
|
||||||
#else
|
#else
|
||||||
@@ -197,6 +197,11 @@ namespace boost_no_swprintf = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_using_template = empty_boost;
|
namespace boost_no_using_template = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_VOID_RETURNS
|
||||||
|
#include "boost_no_void_returns.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_void_returns = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
|
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
|
||||||
#include "boost_no_wchar_t.cxx"
|
#include "boost_no_wchar_t.cxx"
|
||||||
#else
|
#else
|
||||||
@@ -271,32 +276,33 @@ namespace boost_has_winthreads = empty_boost;
|
|||||||
int test_main( int, char *[] )
|
int test_main( int, char *[] )
|
||||||
{
|
{
|
||||||
BOOST_TEST(0 == boost_no_intrinsic_wchar_t::test());
|
BOOST_TEST(0 == boost_no_intrinsic_wchar_t::test());
|
||||||
|
BOOST_TEST(0 == boost_no_void_returns::test());
|
||||||
BOOST_TEST(0 == boost_no_using_template::test());
|
BOOST_TEST(0 == boost_no_using_template::test());
|
||||||
BOOST_TEST(0 == boost_no_swprintf::test());
|
BOOST_TEST(0 == boost_no_swprintf::test());
|
||||||
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
|
||||||
BOOST_TEST(0 == boost_no_std_wstring::test());
|
BOOST_TEST(0 == boost_no_std_wstring::test());
|
||||||
BOOST_TEST(0 == boost_no_std_use_facet::test());
|
BOOST_TEST(0 == boost_no_std_use_facet::test());
|
||||||
BOOST_TEST(0 == boost_no_std_output_iterator_assign::test());
|
BOOST_TEST(0 == boost_no_std_output_iterator_assign::test());
|
||||||
BOOST_TEST(0 == boost_no_std_min_max::test());
|
BOOST_TEST(0 == boost_no_std_min_max::test());
|
||||||
BOOST_TEST(0 == boost_no_std_messages::test());
|
BOOST_TEST(0 == boost_no_std_messages::test());
|
||||||
BOOST_TEST(0 == boost_no_std_locale::test());
|
BOOST_TEST(0 == boost_no_std_locale::test());
|
||||||
BOOST_TEST(0 == boost_no_std_iterator::test());
|
|
||||||
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
|
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
|
||||||
|
BOOST_TEST(0 == boost_no_std_iterator::test());
|
||||||
BOOST_TEST(0 == boost_no_std_distance::test());
|
BOOST_TEST(0 == boost_no_std_distance::test());
|
||||||
|
BOOST_TEST(0 == boost_no_stdc_namespace::test());
|
||||||
BOOST_TEST(0 == boost_no_std_allocator::test());
|
BOOST_TEST(0 == boost_no_std_allocator::test());
|
||||||
BOOST_TEST(0 == boost_no_stringstream::test());
|
BOOST_TEST(0 == boost_no_stringstream::test());
|
||||||
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
|
||||||
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
|
||||||
BOOST_TEST(0 == boost_no_template_partial_specialization::test());
|
BOOST_TEST(0 == boost_no_template_partial_specialization::test());
|
||||||
BOOST_TEST(0 == boost_no_operators_in_namespace::test());
|
BOOST_TEST(0 == boost_no_operators_in_namespace::test());
|
||||||
BOOST_TEST(0 == boost_no_member_templates::test());
|
|
||||||
BOOST_TEST(0 == boost_no_member_template_friends::test());
|
BOOST_TEST(0 == boost_no_member_template_friends::test());
|
||||||
|
BOOST_TEST(0 == boost_no_member_templates::test());
|
||||||
BOOST_TEST(0 == boost_no_member_template_keyword::test());
|
BOOST_TEST(0 == boost_no_member_template_keyword::test());
|
||||||
BOOST_TEST(0 == boost_no_limits_compile_time_constants::test());
|
|
||||||
BOOST_TEST(0 == boost_no_limits::test());
|
BOOST_TEST(0 == boost_no_limits::test());
|
||||||
|
BOOST_TEST(0 == boost_no_limits_compile_time_constants::test());
|
||||||
BOOST_TEST(0 == boost_no_templated_iterator_constructors::test());
|
BOOST_TEST(0 == boost_no_templated_iterator_constructors::test());
|
||||||
BOOST_TEST(0 == boost_no_inclass_member_initialization::test());
|
BOOST_TEST(0 == boost_no_inclass_member_initialization::test());
|
||||||
BOOST_TEST(0 == boost_weak_function_template_ordering::test());
|
BOOST_TEST(0 == boost_no_function_template_ordering::test());
|
||||||
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
|
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
|
||||||
BOOST_TEST(0 == boost_no_dependent_types_in_template_value_parameters::test());
|
BOOST_TEST(0 == boost_no_dependent_types_in_template_value_parameters::test());
|
||||||
BOOST_TEST(0 == boost_no_dependent_nested_derivations::test());
|
BOOST_TEST(0 == boost_no_dependent_nested_derivations::test());
|
||||||
|
36
test/no_void_returns_fail.cpp
Normal file
36
test/no_void_returns_fail.cpp
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||||
|
// distribute this software is granted provided this copyright notice appears
|
||||||
|
// in all copies. This software is provided "as is" without express or implied
|
||||||
|
// warranty, and with no claim as to its suitability for any purpose.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_VOID_RETURNS
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_VOID_RETURNS need not be defined.
|
||||||
|
// see boost_no_void_returns.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_void_returns.cxx on
|
||||||
|
// Wed Sep 26 15:18:31 EEST 2001
|
||||||
|
|
||||||
|
// 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 <boost/test/cpp_main.cpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_VOID_RETURNS
|
||||||
|
#include "boost_no_void_returns.cxx"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_void_returns::test();
|
||||||
|
}
|
||||||
|
|
36
test/no_void_returns_pass.cpp
Normal file
36
test/no_void_returns_pass.cpp
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
|
||||||
|
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||||
|
// distribute this software is granted provided this copyright notice appears
|
||||||
|
// in all copies. This software is provided "as is" without express or implied
|
||||||
|
// warranty, and with no claim as to its suitability for any purpose.
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_VOID_RETURNS
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_VOID_RETURNS needs to be defined.
|
||||||
|
// see boost_no_void_returns.cxx for more details
|
||||||
|
|
||||||
|
// Do not edit this file, it was generated automatically by
|
||||||
|
// ../tools/generate from boost_no_void_returns.cxx on
|
||||||
|
// Wed Sep 26 15:18:31 EEST 2001
|
||||||
|
|
||||||
|
// 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 <boost/test/cpp_main.cpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_VOID_RETURNS
|
||||||
|
#include "boost_no_void_returns.cxx"
|
||||||
|
#else
|
||||||
|
namespace boost_no_void_returns = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int cpp_main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_void_returns::test();
|
||||||
|
}
|
||||||
|
|
@@ -31,16 +31,16 @@ run libs/config/test/no_inline_memb_init_pass.cpp
|
|||||||
link-fail libs/config/test/no_inline_memb_init_fail.cpp
|
link-fail libs/config/test/no_inline_memb_init_fail.cpp
|
||||||
run libs/config/test/no_iter_construct_pass.cpp
|
run libs/config/test/no_iter_construct_pass.cpp
|
||||||
link-fail libs/config/test/no_iter_construct_fail.cpp
|
link-fail libs/config/test/no_iter_construct_fail.cpp
|
||||||
run libs/config/test/no_limits_pass.cpp
|
|
||||||
link-fail libs/config/test/no_limits_fail.cpp
|
|
||||||
run libs/config/test/no_limits_const_exp_pass.cpp
|
run libs/config/test/no_limits_const_exp_pass.cpp
|
||||||
link-fail libs/config/test/no_limits_const_exp_fail.cpp
|
link-fail libs/config/test/no_limits_const_exp_fail.cpp
|
||||||
|
run libs/config/test/no_limits_pass.cpp
|
||||||
|
link-fail libs/config/test/no_limits_fail.cpp
|
||||||
run libs/config/test/no_mem_tem_keyword_pass.cpp
|
run libs/config/test/no_mem_tem_keyword_pass.cpp
|
||||||
link-fail libs/config/test/no_mem_tem_keyword_fail.cpp
|
link-fail libs/config/test/no_mem_tem_keyword_fail.cpp
|
||||||
run libs/config/test/no_mem_templ_frnds_pass.cpp
|
|
||||||
link-fail libs/config/test/no_mem_templ_frnds_fail.cpp
|
|
||||||
run libs/config/test/no_mem_templates_pass.cpp
|
run libs/config/test/no_mem_templates_pass.cpp
|
||||||
link-fail libs/config/test/no_mem_templates_fail.cpp
|
link-fail libs/config/test/no_mem_templates_fail.cpp
|
||||||
|
run libs/config/test/no_mem_templ_frnds_pass.cpp
|
||||||
|
link-fail libs/config/test/no_mem_templ_frnds_fail.cpp
|
||||||
run libs/config/test/no_ops_in_namespace_pass.cpp
|
run libs/config/test/no_ops_in_namespace_pass.cpp
|
||||||
link-fail libs/config/test/no_ops_in_namespace_fail.cpp
|
link-fail libs/config/test/no_ops_in_namespace_fail.cpp
|
||||||
run libs/config/test/no_partial_spec_pass.cpp
|
run libs/config/test/no_partial_spec_pass.cpp
|
||||||
@@ -53,12 +53,14 @@ run libs/config/test/no_sstream_pass.cpp
|
|||||||
link-fail libs/config/test/no_sstream_fail.cpp
|
link-fail libs/config/test/no_sstream_fail.cpp
|
||||||
run libs/config/test/no_std_allocator_pass.cpp
|
run libs/config/test/no_std_allocator_pass.cpp
|
||||||
link-fail libs/config/test/no_std_allocator_fail.cpp
|
link-fail libs/config/test/no_std_allocator_fail.cpp
|
||||||
|
run libs/config/test/no_stdc_namespace_pass.cpp
|
||||||
|
link-fail libs/config/test/no_stdc_namespace_fail.cpp
|
||||||
run libs/config/test/no_std_distance_pass.cpp
|
run libs/config/test/no_std_distance_pass.cpp
|
||||||
link-fail libs/config/test/no_std_distance_fail.cpp
|
link-fail libs/config/test/no_std_distance_fail.cpp
|
||||||
run libs/config/test/no_std_iter_traits_pass.cpp
|
|
||||||
link-fail libs/config/test/no_std_iter_traits_fail.cpp
|
|
||||||
run libs/config/test/no_std_iterator_pass.cpp
|
run libs/config/test/no_std_iterator_pass.cpp
|
||||||
link-fail libs/config/test/no_std_iterator_fail.cpp
|
link-fail libs/config/test/no_std_iterator_fail.cpp
|
||||||
|
run libs/config/test/no_std_iter_traits_pass.cpp
|
||||||
|
link-fail libs/config/test/no_std_iter_traits_fail.cpp
|
||||||
run libs/config/test/no_std_locale_pass.cpp
|
run libs/config/test/no_std_locale_pass.cpp
|
||||||
link-fail libs/config/test/no_std_locale_fail.cpp
|
link-fail libs/config/test/no_std_locale_fail.cpp
|
||||||
run libs/config/test/no_std_messages_pass.cpp
|
run libs/config/test/no_std_messages_pass.cpp
|
||||||
@@ -71,12 +73,12 @@ run libs/config/test/no_std_use_facet_pass.cpp
|
|||||||
link-fail libs/config/test/no_std_use_facet_fail.cpp
|
link-fail libs/config/test/no_std_use_facet_fail.cpp
|
||||||
run libs/config/test/no_std_wstring_pass.cpp
|
run libs/config/test/no_std_wstring_pass.cpp
|
||||||
link-fail libs/config/test/no_std_wstring_fail.cpp
|
link-fail libs/config/test/no_std_wstring_fail.cpp
|
||||||
run libs/config/test/no_stdc_namespace_pass.cpp
|
|
||||||
link-fail libs/config/test/no_stdc_namespace_fail.cpp
|
|
||||||
run libs/config/test/no_swprintf_pass.cpp
|
run libs/config/test/no_swprintf_pass.cpp
|
||||||
link-fail libs/config/test/no_swprintf_fail.cpp
|
link-fail libs/config/test/no_swprintf_fail.cpp
|
||||||
run libs/config/test/no_using_template_pass.cpp
|
run libs/config/test/no_using_template_pass.cpp
|
||||||
link-fail libs/config/test/no_using_template_fail.cpp
|
link-fail libs/config/test/no_using_template_fail.cpp
|
||||||
|
run libs/config/test/no_void_returns_pass.cpp
|
||||||
|
link-fail libs/config/test/no_void_returns_fail.cpp
|
||||||
run libs/config/test/no_wchar_t_pass.cpp
|
run libs/config/test/no_wchar_t_pass.cpp
|
||||||
link-fail libs/config/test/no_wchar_t_fail.cpp
|
link-fail libs/config/test/no_wchar_t_fail.cpp
|
||||||
run libs/config/test/has_2arg_use_facet_pass.cpp
|
run libs/config/test/has_2arg_use_facet_pass.cpp
|
||||||
|
Reference in New Issue
Block a user