Boost logo

Boost Users :

Subject: Re: [Boost-users] Building Boost 4.6 with Intel C++ compiler 12.1
From: Frank Kingswood (frank_at_[hidden])
Date: 2011-10-04 04:42:24


On 03/10/11 16:39, John Maddock wrote:
>> I'm getting build errors with ICC 12.1.0 that appear to be related to
>> BOOST_STATIC_ASSERT. This is with boost 1.46.1.1 as available in Debian.
>
> These are related to C++0x feature detection, they're fixed in this change:
> https://svn.boost.org/trac/boost/changeset/74573

Thanks. I also applied 74639 but now get errors on boost::declval:

/usr/include/boost/type_traits/common_type.hpp(112): error: function template
"boost::declval" is not a type name
           typedef decltype(declval<bool>() ? declval<T>() : declval<U>()) type;
                            ^

/usr/include/boost/type_traits/common_type.hpp(112): error: expected a ")"
           typedef decltype(declval<bool>() ? declval<T>() : declval<U>()) type;
                                            ^

/usr/include/boost/type_traits/common_type.hpp(112): error: expected a ";"
           typedef decltype(declval<bool>() ? declval<T>() : declval<U>()) type;
                                                           ^

Frank


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net