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