[GCC-XML] fyi: patch added to boost

Brad King brad.king at kitware.com
Tue Dec 23 15:51:36 EST 2008


Neal Becker wrote:
> I requested (and received) the following patch applied to boost:
> 
> diff -r 13bbd7c5c6d0 boost/type_traits/intrinsics.hpp
> --- a/boost/type_traits/intrinsics.hpp  Mon Dec 01 07:41:09 2008 -0500
> +++ b/boost/type_traits/intrinsics.hpp  Tue Dec 23 09:15:32 2008 -0500
> @@ -126,7 +126,7 @@
>  #   define BOOST_HAS_TYPE_TRAITS_INTRINSICS
>  #endif
>  
> -#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && 
> (__GNUC_MINOR__ >= 3)))
> +#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && 
> (__GNUC_MINOR__ >= 3) && !defined(__GCCXML__)))
>  #   include <boost/type_traits/is_same.hpp>
>  #   include <boost/type_traits/is_reference.hpp>
>  #   include <boost/type_traits/is_volatile.hpp>

Looks good.  Thanks.

-Brad




More information about the gccxml mailing list