Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-03-14 11:22:44


> GCC 4.0 complains about the default value for aligmnent_ saying
> that:
>
> '(size_t)((-1))' is not a valid template argument for type
> 'unsigned int' because it is a non-constant expression
>
> which is ruining some of the regression tests.
> Is GCC right or shall I submit a bug report at gcc.gnu.org/bugzilla?

I'm certain it's a bug: casts are permitted in integral constant
expressions.

John.


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