forked from boostorg/config
Deprecate all the 'BOOST_NO_OX_*' macros in favor of 'BOOST_NO_CXX11_*' versions. Update tests. Old macros remain for compatibility (for the nonce)
[SVN r77194]
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
//
|
||||
|
||||
|
||||
// Test file for macro BOOST_NO_0X_HDR_ARRAY
|
||||
// Test file for macro BOOST_NO_CXX11_HDR_ARRAY
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_NO_0X_HDR_ARRAY should not be defined.
|
||||
// See file boost_no_0x_hdr_array.ipp for details
|
||||
// BOOST_NO_CXX11_HDR_ARRAY should not be defined.
|
||||
// See file boost_no_cxx11_hdr_array.ipp for details
|
||||
|
||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||
// the objective of this file:
|
||||
@@ -24,14 +24,14 @@
|
||||
#include <boost/config.hpp>
|
||||
#include "test.hpp"
|
||||
|
||||
#ifdef BOOST_NO_0X_HDR_ARRAY
|
||||
#include "boost_no_0x_hdr_array.ipp"
|
||||
#ifdef BOOST_NO_CXX11_HDR_ARRAY
|
||||
#include "boost_no_cxx11_hdr_array.ipp"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int main( int, char *[] )
|
||||
{
|
||||
return boost_no_0x_hdr_array::test();
|
||||
return boost_no_cxx11_hdr_array::test();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user