Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48909 - in trunk/libs/config/test: . all
From: john_at_[hidden]
Date: 2008-09-20 04:58:11


Author: johnmaddock
Date: 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
New Revision: 48909
URL: http://svn.boost.org/trac/boost/changeset/48909

Log:
Oops, regenerate and add missing files.
Added:
   trunk/libs/config/test/boost_no_nested_friendship.ipp (contents, props changed)
   trunk/libs/config/test/no_nested_friendship_fail.cpp (contents, props changed)
   trunk/libs/config/test/no_nested_friendship_pass.cpp (contents, props changed)
   trunk/libs/config/test/no_typename_with_ctor_fail.cpp (contents, props changed)
   trunk/libs/config/test/no_typename_with_ctor_pass.cpp (contents, props changed)
Text files modified:
   trunk/libs/config/test/all/Jamfile.v2 | 2 +-
   trunk/libs/config/test/config_info.cpp | 1 +
   trunk/libs/config/test/config_test.cpp | 2 +-
   3 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/config/test/all/Jamfile.v2
==============================================================================
--- trunk/libs/config/test/all/Jamfile.v2 (original)
+++ trunk/libs/config/test/all/Jamfile.v2 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -1,7 +1,7 @@
 #
 # Regression test Jamfile for boost configuration setup.
 # *** DO NOT EDIT THIS FILE BY HAND ***
-# This file was automatically generated on Thu Sep 18 23:32:18 2008
+# This file was automatically generated on Sat Sep 20 09:49:52 2008
 # by libs/config/tools/generate.cpp
 # Copyright John Maddock.
 # Use, modification and distribution are subject to the

Added: trunk/libs/config/test/boost_no_nested_friendship.ipp
==============================================================================
--- (empty file)
+++ trunk/libs/config/test/boost_no_nested_friendship.ipp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -0,0 +1,21 @@
+// MACRO: BOOST_NO_NESTED_FRIENDSHIP
+// TITLE: Access to private members from nested classes
+// DESCRIPTION: If the compiler fails to support access to private members
+// from nested classes
+
+namespace boost_no_nested_friendship {
+
+class A {
+ static int b;
+ class B {
+ int f() { return b; }
+ };
+};
+
+int test()
+{
+ return 0;
+}
+
+}
+

Modified: trunk/libs/config/test/config_info.cpp
==============================================================================
--- trunk/libs/config/test/config_info.cpp (original)
+++ trunk/libs/config/test/config_info.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -1040,6 +1040,7 @@
 
 
 
+
    // END GENERATED BLOCK
 
    PRINT_MACRO(BOOST_INTEL);

Modified: trunk/libs/config/test/config_test.cpp
==============================================================================
--- trunk/libs/config/test/config_test.cpp (original)
+++ trunk/libs/config/test/config_test.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -1,4 +1,4 @@
-// This file was automatically generated on Thu Sep 18 23:32:18 2008
+// This file was automatically generated on Sat Sep 20 09:49:52 2008
 // by libs/config/tools/generate.cpp
 // Copyright John Maddock 2002-4.
 // Use, modification and distribution are subject to the

Added: trunk/libs/config/test/no_nested_friendship_fail.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/config/test/no_nested_friendship_fail.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Thu Sep 18 23:32:18 2008
+// 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.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_NESTED_FRIENDSHIP
+// This file should not compile, if it does then
+// BOOST_NO_NESTED_FRIENDSHIP should not be defined.
+// See file boost_no_nested_friendship.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_NESTED_FRIENDSHIP
+#include "boost_no_nested_friendship.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_nested_friendship::test();
+}
+

Added: trunk/libs/config/test/no_nested_friendship_pass.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/config/test/no_nested_friendship_pass.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Thu Sep 18 23:32:18 2008
+// 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.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_NESTED_FRIENDSHIP
+// This file should compile, if it does not then
+// BOOST_NO_NESTED_FRIENDSHIP should be defined.
+// See file boost_no_nested_friendship.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_NESTED_FRIENDSHIP
+#include "boost_no_nested_friendship.ipp"
+#else
+namespace boost_no_nested_friendship = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_nested_friendship::test();
+}
+

Added: trunk/libs/config/test/no_typename_with_ctor_fail.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/config/test/no_typename_with_ctor_fail.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Thu Sep 18 23:32:18 2008
+// 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.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_TYPENAME_WITH_CTOR
+// This file should not compile, if it does then
+// BOOST_NO_TYPENAME_WITH_CTOR should not be defined.
+// See file boost_no_typename_with_ctor.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_TYPENAME_WITH_CTOR
+#include "boost_no_typename_with_ctor.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_typename_with_ctor::test();
+}
+

Added: trunk/libs/config/test/no_typename_with_ctor_pass.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/config/test/no_typename_with_ctor_pass.cpp 2008-09-20 04:58:10 EDT (Sat, 20 Sep 2008)
@@ -0,0 +1,37 @@
+// This file was automatically generated on Thu Sep 18 23:32:18 2008
+// 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.//
+// Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_TYPENAME_WITH_CTOR
+// This file should compile, if it does not then
+// BOOST_NO_TYPENAME_WITH_CTOR should be defined.
+// See file boost_no_typename_with_ctor.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_TYPENAME_WITH_CTOR
+#include "boost_no_typename_with_ctor.ipp"
+#else
+namespace boost_no_typename_with_ctor = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+ return boost_no_typename_with_ctor::test();
+}
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk