|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-10-05 11:00:41
Author: johnmaddock
Date: 2007-10-05 11:00:40 EDT (Fri, 05 Oct 2007)
New Revision: 39708
URL: http://svn.boost.org/trac/boost/changeset/39708
Log:
Disable PP-logic for __DECCXX compiler: WCAHR_MAX is defined but doesn't work in PP-logic on that platform.
Text files modified:
trunk/libs/type_traits/test/promote_basic_test.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/libs/type_traits/test/promote_basic_test.cpp
==============================================================================
--- trunk/libs/type_traits/test/promote_basic_test.cpp (original)
+++ trunk/libs/type_traits/test/promote_basic_test.cpp 2007-10-05 11:00:40 EDT (Fri, 05 Oct 2007)
@@ -83,7 +83,8 @@
# define BOOST_TT_AUX_WCHAR_MAX UINT_MAX // force test_cv< wchar_t, int >
#endif
-#ifdef BOOST_TT_AUX_WCHAR_MAX
+// For this PP-logic to work we need a valid WCHAR_MAX etc:
+#if defined(BOOST_TT_AUX_WCHAR_MAX) && !defined(__DECCXX)
#if BOOST_TT_AUX_WCHAR_MAX <= INT_MAX
test_cv< wchar_t, int >();
#elif WCHAR_MIN == 0 && BOOST_TT_AUX_WCHAR_MAX <= UINT_MAX
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