$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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>
> 
> BOOST_STATIC_ASSERT(0);
> 
> produces
> 
> % g++    -c -o bsa.o bsa.cpp
> bsa.cpp:3: error: invalid application of `sizeof' to an incomplete type
> 
> According to <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15337>, 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.
John.