Boost logo

Boost Users :

Subject: [Boost-users] Building Boost 4.6 with Intel C++ compiler 12.1
From: Frank Kingswood (frank_at_[hidden])
Date: 2011-10-03 10:46:49


Hallo!

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.

Before I got this far I had to disable rvalue references in
config/compiler/intel.hpp.

/usr/include/boost/type_traits/type_with_alignment.hpp(206): error: member
"boost::detail::type_with_alignment_imp<Align>::found" is not a type name
       BOOST_STATIC_ASSERT(found >= Align);
       ^

/usr/include/boost/type_traits/common_type.hpp(91): error: expected a type
specifier
           BOOST_COMMON_TYPE_STATIC_ASSERT(sizeof(T) > 0,
BOOST_COMMON_TYPE_MUST_BE_A_COMPLE_TYPE, (T));
           ^

Folloed by several more problems in BOOST_STATIC_ASSERT.
Has anyone seen similar problems?

Thanks,

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