|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73962 - sandbox/enums/libs/enums/test/enum_class
From: vicente.botet_at_[hidden]
Date: 2011-08-20 17:44:59
Author: viboes
Date: 2011-08-20 17:44:59 EDT (Sat, 20 Aug 2011)
New Revision: 73962
URL: http://svn.boost.org/trac/boost/changeset/73962
Log:
ENUMS: Change failing conditions
Text files modified:
sandbox/enums/libs/enums/test/enum_class/enum_inside_union_cons.fail.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/enums/libs/enums/test/enum_class/enum_inside_union_cons.fail.cpp
==============================================================================
--- sandbox/enums/libs/enums/test/enum_class/enum_inside_union_cons.fail.cpp (original)
+++ sandbox/enums/libs/enums/test/enum_class/enum_inside_union_cons.fail.cpp 2011-08-20 17:44:59 EDT (Sat, 20 Aug 2011)
@@ -10,6 +10,7 @@
//
//////////////////////////////////////////////////////////////////////////////
+#include <boost/config.hpp>
#include <boost/enums/scoped.hpp>
#if 0
@@ -33,7 +34,7 @@
#endif
-#if !defined(BOOST_NO_ENUM_UNRESTRICTED_UNION)
+#if !defined(BOOST_NO_ENUM_UNRESTRICTED_UNION) || !defined(BOOST_NO_SCOPED_ENUMS)
#error "force error as not applicable as unrestricted union available"
#else
// The ENUM can NOT be used as member of a union as it is the case of the underlying enum.
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