forked from boostorg/config
Merge inspection report fixes.
[SVN r49283]
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
// Copyright (C) 2008 N. Musatti
|
||||||
|
// 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_NESTED_FRIENDSHIP
|
// MACRO: BOOST_NO_NESTED_FRIENDSHIP
|
||||||
// TITLE: Access to private members from nested classes
|
// TITLE: Access to private members from nested classes
|
||||||
// DESCRIPTION: If the compiler fails to support access to private members
|
// DESCRIPTION: If the compiler fails to support access to private members
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
// Copyright (C) 2008 N. Musatti
|
||||||
|
// 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_TYPENAME_WITH_CTOR
|
// MACRO: BOOST_NO_TYPENAME_WITH_CTOR
|
||||||
// TITLE: Use of typename keyword with constructors
|
// TITLE: Use of typename keyword with constructors
|
||||||
// DESCRIPTION: If the compiler rejects the typename keyword when calling
|
// DESCRIPTION: If the compiler rejects the typename keyword when calling
|
||||||
|
@ -156,12 +156,12 @@ void write_test_file(const fs::path& file,
|
|||||||
"# undef BOOST_ASSERT_CONFIG\n"
|
"# undef BOOST_ASSERT_CONFIG\n"
|
||||||
"#endif\n\n";
|
"#endif\n\n";
|
||||||
|
|
||||||
static const boost::regex tr1_exp("BOOST_HAS_TR1.*");
|
static const boost::regex tr1_exp("BOOST_HAS_TR1.*");
|
||||||
|
|
||||||
ofs << "#include <boost/config.hpp>\n";
|
ofs << "#include <boost/config.hpp>\n";
|
||||||
|
|
||||||
if(regex_match(macro_name, tr1_exp))
|
if(regex_match(macro_name, tr1_exp))
|
||||||
ofs << "#include <boost/tr1/detail/config.hpp>\n";
|
ofs << "#include <boost/tr1/detail/config.hpp>\n";
|
||||||
|
|
||||||
ofs << "#include \"test.hpp\"\n\n"
|
ofs << "#include \"test.hpp\"\n\n"
|
||||||
"#if";
|
"#if";
|
||||||
|
Reference in New Issue
Block a user