From 8da563618487d4397f5c762a59cdabce16fb6d2a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 20 May 2004 10:20:42 +0000 Subject: [PATCH] Added more informative comments. [SVN r22877] --- include/boost/config/compiler/intel.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index e36632a8..7c46a960 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -80,13 +80,16 @@ // // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T -// set correctly: +// set correctly, if we don't do this now, we will get errors later +// in type_traits code among other things, getting this correct +// for the Intel compiler is actually remarkably fragile and tricky: // #if defined(BOOST_NO_INTRINSIC_WCHAR_T) #include template< typename T > struct assert_no_intrinsic_wchar_t; template<> struct assert_no_intrinsic_wchar_t { typedef void type; }; -// if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T: +// if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T +// where it is defined above: typedef assert_no_intrinsic_wchar_t::type assert_no_intrinsic_wchar_t_; #else template< typename T > struct assert_intrinsic_wchar_t;