Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-09-26 05:26:23

> BOOST_STATIC_ASSERT doesn't produce a useful error message
> with gcc 3.3. E.g.:
> #include <boost/static_assert.hpp>
> produces
> % g++ -c -o bsa.o bsa.cpp
> bsa.cpp:3: error: invalid application of `sizeof' to an incomplete type
> According to <>, this
> is fixed, but some of use will still be using gcc 3.3 for a while. It
> turns out the version of BOOST_STATIC_ASSERT used when
> BOOST_INTEL_CXX_VERSION is defined works for the offending versions of
> gcc, too:

Good idea, I've tested and committed that as a fix.


Boost list run by bdawes at, gregod at, cpdaniel at, john at