Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-05-26 06:49:47


>Are these compilers wrong, or is there a problem with BOOST_STATIC_ASSERT?

There's a problem with both: BOOST_STATIC_ASSERT it needs to cast the
integral constant expression to a bool in order to work correctly - this
also fixes the warnings that VC6 generates in this case. Can you check
that this fixes the Intel problem as well? If it doesn't I'll change to
the negative array trick for that case (maybe VC6 as well if that's still
causing problems).

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


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