Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77745 - trunk/libs/conversion
From: antoshkka_at_[hidden]
Date: 2012-04-03 14:00:32


Author: apolukhin
Date: 2012-04-03 14:00:30 EDT (Tue, 03 Apr 2012)
New Revision: 77745
URL: http://svn.boost.org/trac/boost/changeset/77745

Log:
More workarounds for fixed #6670 (disable more char16_t and char32_t tests for some compilers)
Text files modified:
   trunk/libs/conversion/lexical_cast_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/conversion/lexical_cast_test.cpp
==============================================================================
--- trunk/libs/conversion/lexical_cast_test.cpp (original)
+++ trunk/libs/conversion/lexical_cast_test.cpp 2012-04-03 14:00:30 EDT (Tue, 03 Apr 2012)
@@ -756,12 +756,12 @@
     test_conversion_from_integral_to_char<T>(wzero);
     test_conversion_from_char_to_integral<T>(wzero);
 #endif
-#ifndef BOOST_NO_CHAR16_T
+#if !defined(BOOST_NO_CHAR16_T) && !defined(BOOST_NO_UNICODE_LITERALS)
     char16_t const u16zero = u'0';
     test_conversion_from_integral_to_char<T>(u16zero);
     test_conversion_from_char_to_integral<T>(u16zero);
 #endif
-#ifndef BOOST_NO_CHAR32_T
+#if !defined(BOOST_NO_CHAR32_T) && !defined(BOOST_NO_UNICODE_LITERALS)
     char32_t const u32zero = u'0';
     test_conversion_from_integral_to_char<T>(u32zero);
     test_conversion_from_char_to_integral<T>(u32zero);


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