Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51794 - in trunk/libs/config: doc test test/all
From: bdawes_at_[hidden]
Date: 2009-03-16 11:49:19


Author: bemandawes
Date: 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
New Revision: 51794
URL: http://svn.boost.org/trac/boost/changeset/51794

Log:
Revert 51733 - it broke the regression testing system
Removed:
   trunk/libs/config/test/boost_no_auto_declarations.ipp
   trunk/libs/config/test/boost_no_auto_multidecl.ipp
Text files modified:
   trunk/libs/config/doc/macro_reference.qbk | 6 ------
   trunk/libs/config/test/all/Jamfile.v2 | 8 +-------
   trunk/libs/config/test/config_info.cpp | 3 ---
   trunk/libs/config/test/config_test.cpp | 22 +---------------------
   4 files changed, 2 insertions(+), 37 deletions(-)

Modified: trunk/libs/config/doc/macro_reference.qbk
==============================================================================
--- trunk/libs/config/doc/macro_reference.qbk (original)
+++ trunk/libs/config/doc/macro_reference.qbk 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
@@ -524,12 +524,6 @@
 [table
 [[Macro ][Description ]]
 
-[[`BOOST_NO_AUTO_DECLARATIONS`][The compiler does not support
-type deduction for variables declared with the `auto` keyword (`auto var = ...;`).
-]]
-[[`BOOST_NO_AUTO_MULTIDECLARATIONS`][The compiler does not support
-type deduction for multiple variables declared with the `auto` keyword (`auto var = ..., *ptr = ...;`).
-]]
 [[`BOOST_NO_CHAR16_T`][The compiler does not support
 type `char16_t`.
 ]]

Modified: trunk/libs/config/test/all/Jamfile.v2
==============================================================================
--- trunk/libs/config/test/all/Jamfile.v2 (original)
+++ trunk/libs/config/test/all/Jamfile.v2 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
@@ -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 Mar 12 17:32:05 2009
+# This file was automatically generated on Fri Feb 20 21:15:18 2009
 # by libs/config/tools/generate.cpp
 # Copyright John Maddock.
 # Use, modification and distribution are subject to the
@@ -184,12 +184,6 @@
 test-suite "BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS" :
 [ run ../no_array_type_spec_pass.cpp ]
 [ compile-fail ../no_array_type_spec_fail.cpp ] ;
-test-suite "BOOST_NO_AUTO_DECLARATIONS" :
-[ run ../no_auto_declarations_pass.cpp ]
-[ compile-fail ../no_auto_declarations_fail.cpp ] ;
-test-suite "BOOST_NO_AUTO_MULTIDECLARATIONS" :
-[ run ../no_auto_multidecl_pass.cpp ]
-[ compile-fail ../no_auto_multidecl_fail.cpp ] ;
 test-suite "BOOST_NO_AUTO_PTR" :
 [ run ../no_auto_ptr_pass.cpp ]
 [ compile-fail ../no_auto_ptr_fail.cpp ] ;

Deleted: trunk/libs/config/test/boost_no_auto_declarations.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_auto_declarations.ipp 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
+++ (empty file)
@@ -1,25 +0,0 @@
-// Copyright (C) 2009 Andrey Semashev
-// 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_AUTO_DECLARATIONS
-// TITLE: C++0x auto declarators unavailable
-// DESCRIPTION: The compiler does not support C++0x declarations of variables with automatically deduced type
-
-namespace boost_no_auto_declarations {
-
-void check(int& x)
-{
-}
-
-int test()
-{
- auto x = 10;
- check(x);
- return 0;
-}
-
-}

Deleted: trunk/libs/config/test/boost_no_auto_multidecl.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_auto_multidecl.ipp 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
+++ (empty file)
@@ -1,25 +0,0 @@
-// Copyright (C) 2009 Andrey Semashev
-// 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_AUTO_MULTIDECLARATIONS
-// TITLE: C++0x auto multideclarators unavailable
-// DESCRIPTION: The compiler does not support C++0x declarations of series of variables with automatically deduced type
-
-namespace boost_no_auto_multideclarations {
-
-void check(int& x, int*& y)
-{
-}
-
-int test()
-{
- auto x = 10, *y = &x;
- check(x, y);
- 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 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
@@ -955,8 +955,6 @@
    PRINT_MACRO(BOOST_NO_ADL_BARRIER);
    PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
    PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS);
- PRINT_MACRO(BOOST_NO_AUTO_DECLARATIONS);
- PRINT_MACRO(BOOST_NO_AUTO_MULTIDECLARATIONS);
    PRINT_MACRO(BOOST_NO_AUTO_PTR);
    PRINT_MACRO(BOOST_NO_CHAR16_T);
    PRINT_MACRO(BOOST_NO_CHAR32_T);
@@ -1036,7 +1034,6 @@
    PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES);
    PRINT_MACRO(BOOST_NO_VOID_RETURNS);
 
-
    // 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 2009-03-16 11:49:17 EDT (Mon, 16 Mar 2009)
@@ -1,4 +1,4 @@
-// This file was automatically generated on Thu Mar 12 17:32:05 2009
+// This file was automatically generated on Fri Feb 20 21:15:18 2009
 // by libs/config/tools/generate.cpp
 // Copyright John Maddock 2002-4.
 // Use, modification and distribution are subject to the
@@ -37,16 +37,6 @@
 #else
 namespace boost_no_array_type_specializations = empty_boost;
 #endif
-#ifndef BOOST_NO_AUTO_DECLARATIONS
-#include "boost_no_auto_declarations.ipp"
-#else
-namespace boost_no_auto_declarations = empty_boost;
-#endif
-#ifndef BOOST_NO_AUTO_MULTIDECLARATIONS
-#include "boost_no_auto_multidecl.ipp"
-#else
-namespace boost_no_auto_multideclarations = empty_boost;
-#endif
 #ifndef BOOST_NO_AUTO_PTR
 #include "boost_no_auto_ptr.ipp"
 #else
@@ -981,16 +971,6 @@
       std::cerr << "Failed test for BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
       ++error_count;
    }
- if(0 != boost_no_auto_declarations::test())
- {
- std::cerr << "Failed test for BOOST_NO_AUTO_DECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
- ++error_count;
- }
- if(0 != boost_no_auto_multideclarations::test())
- {
- std::cerr << "Failed test for BOOST_NO_AUTO_MULTIDECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
- ++error_count;
- }
    if(0 != boost_no_auto_ptr::test())
    {
       std::cerr << "Failed test for BOOST_NO_AUTO_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl;


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