Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73715 - in sandbox/conversion/boost/conversion: . detail type_traits
From: vicente.botet_at_[hidden]
Date: 2011-08-13 12:29:00


Author: viboes
Date: 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
New Revision: 73715
URL: http://svn.boost.org/trac/boost/changeset/73715

Log:
conversion: clang doesn't supports either sizeof nor decltype technique
Text files modified:
   sandbox/conversion/boost/conversion/detail/is_extrinsically_assignable_tagged.hpp | 5 ++---
   sandbox/conversion/boost/conversion/detail/is_extrinsically_convertible_tagged.hpp | 1 -
   sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_or_fallback_tagged.hpp | 1 -
   sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_tagged.hpp | 1 -
   sandbox/conversion/boost/conversion/detail/is_extrinsically_try_assignable_tagged.hpp | 5 ++---
   sandbox/conversion/boost/conversion/detail/is_extrinsically_try_convertible_tagged.hpp | 1 -
   sandbox/conversion/boost/conversion/is_extrinsically_assignable.hpp | 4 ++--
   sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp | 1 -
   8 files changed, 6 insertions(+), 13 deletions(-)

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_assignable_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_assignable_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_assignable_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -64,7 +64,6 @@
       #define BOOST_CONVERSION_NO_IS_EXTRINSIC_ASSIGNABLE_TAGGED
     #endif
   #elif defined __clang__
-#error
     #define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_TAGGED_USES_DECLTYPE
   #elif defined __GNUC__
      #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
@@ -89,8 +88,8 @@
 #error
     #define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_TAGGED_USES_SIZEOF
 #elif defined __clang__
-#error
- #define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_TAGGED_USES_SIZEOF
+ #define BOOST_CONVERSION_NO_IS_EXTRINSIC_ASSIGNABLE_TAGGED
+ //#define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_TAGGED_USES_SIZEOF
   #elif defined __GNUC__
     //#define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_TAGGED_USES_SIZEOF
     #define BOOST_CONVERSION_NO_IS_EXTRINSIC_ASSIGNABLE_TAGGED

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_convertible_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_convertible_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_convertible_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -88,7 +88,6 @@
 #error
     #define BOOST_CONVERSION_IS_EXTRINSIC_CONVERTIBLE_TAGGED_USES_SIZEOF
 #elif defined __clang__
-#error
     #define BOOST_CONVERSION_IS_EXTRINSIC_CONVERTIBLE_TAGGED_USES_SIZEOF
   #elif defined __GNUC__
     #define BOOST_CONVERSION_IS_EXTRINSIC_CONVERTIBLE_TAGGED_USES_SIZEOF

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_or_fallback_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_or_fallback_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_or_fallback_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -83,7 +83,6 @@
   #endif
 #elif ! defined BOOST_NO_SFINAE_EXPR
   #if defined __clang__
-#error
 #define BOOST_CONVERSION_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_OR_FALLBACK_TAGGED_USES_SIZEOF
   #elif defined __GNUC__
     #define BOOST_CONVERSION_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_OR_FALLBACK_TAGGED_USES_SIZEOF

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_explicit_convertible_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -83,7 +83,6 @@
   #endif
 #elif ! defined BOOST_NO_SFINAE_EXPR
   #if defined __clang__
- #error
     #define BOOST_CONVERSION_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_TAGGED_USES_SIZEOF
   #elif defined __GNUC__
     #define BOOST_CONVERSION_IS_EXTRINSIC_EXPLICIT_CONVERTIBLE_TAGGED_USES_SIZEOF

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_try_assignable_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_try_assignable_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_try_assignable_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -65,7 +65,6 @@
       #define BOOST_CONVERSION_NO_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED
     #endif
   #elif defined __clang__
-#error
     #define BOOST_CONVERSION_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED_USES_DECLTYPE
   #elif defined __GNUC__
      #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )
@@ -91,8 +90,8 @@
 #error
     #define BOOST_CONVERSION_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED_USES_SIZEOF
 #elif defined __clang__
-#error
- #define BOOST_CONVERSION_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED_USES_SIZEOF
+ //#define BOOST_CONVERSION_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED_USES_SIZEOF
+ #define BOOST_CONVERSION_NO_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED
   #elif defined __GNUC__
     #define BOOST_CONVERSION_NO_IS_EXTRINSIC_TRY_ASSIGNABLE_TAGGED
   #else

Modified: sandbox/conversion/boost/conversion/detail/is_extrinsically_try_convertible_tagged.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/detail/is_extrinsically_try_convertible_tagged.hpp (original)
+++ sandbox/conversion/boost/conversion/detail/is_extrinsically_try_convertible_tagged.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -85,7 +85,6 @@
   #endif
 #elif ! defined BOOST_NO_SFINAE_EXPR
   #if defined __clang__
-#error
 #define BOOST_CONVERSION_IS_EXTRINSIC_TRY_CONVERTIBLE_TAGGED_USES_SIZEOF
   #elif defined __GNUC__
     #define BOOST_CONVERSION_IS_EXTRINSIC_TRY_CONVERTIBLE_TAGGED_USES_SIZEOF

Modified: sandbox/conversion/boost/conversion/is_extrinsically_assignable.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/is_extrinsically_assignable.hpp (original)
+++ sandbox/conversion/boost/conversion/is_extrinsically_assignable.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -85,8 +85,8 @@
 #error
     #define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_USES_SIZEOF
 #elif defined __clang__
-#error
- #define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_USES_SIZEOF
+ //#define BOOST_CONVERSION_IS_EXTRINSIC_ASSIGNABLE_USES_SIZEOF
+ #define BOOST_CONVERSION_NO_IS_EXTRINSIC_ASSIGNABLE
   #elif defined __GNUC__
     #define BOOST_CONVERSION_NO_IS_EXTRINSIC_ASSIGNABLE
   #else

Modified: sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp
==============================================================================
--- sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp (original)
+++ sandbox/conversion/boost/conversion/type_traits/is_assignable.hpp 2011-08-13 12:28:58 EDT (Sat, 13 Aug 2011)
@@ -56,7 +56,6 @@
   #if defined _MSC_VER
      #define BOOST_CONVERSION_NO_IS_ASSIGNABLE
   #elif defined __clang__
- #error
     #define BOOST_CONVERSION_IS_ASSIGNABLE_USES_DECLTYPE
   #elif defined __GNUC__
      #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 4 )


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