Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-21 07:42:23


"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:

> It fails (Intel C++ 7.0 and 8.0) with message:
>
>
> --------------------Configuration: x - Win32 Debug--------------------
> Compiling...
> x.cpp
> C:\boost\boost_1_31_0_rc1\boost/type_traits/is_class.hpp(108): error:
> constant value is not known
> BOOST_STATIC_CONSTANT(bool, value = is_class_impl<T>::value);
> ^
> detected during:
> instantiation of class "boost::detail::is_class_impl<const T>
> [with T=const int [10]]" at line 158
> instantiation of class "boost::is_class<T> [with T=const int
> [10]]" at line 9 of
> "C:\Temp\temp\serialization15\boost_1_31_0_rc1\libs\serialization\x\x.cpp"
> compilation aborted for
> C:\Temp\temp\serialization15\boost_1_31_0_rc1\libs\serialization\x\x.cpp
> (code 2)
> Error executing cl.exe.

The way to debug problems like this is to do a binary search in the
CVS state for the time when the problem was introduced. Can you do
that?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk