Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2007-06-08 18:42:28


"Boris Gubenko" <Boris.Gubenko_at_[hidden]> wrote

> boost/typeof/typeof.hpp has conditionalization for the compilers
> that do not support typeof extension. For such compilers, defining
> BOOST_TYPEOF_NATIVE macro results in a "native typeof is not supported"
> error.
>
> The condition does not include aCC and cxx compilers. Since on the
> platforms not supporting typeof extension "_native" subset of typeof
> library tests is marked known failure, the test system does not flag
> this omission: the "_native" tests fail to compile anyway.
>
> Attached patch fixes this problem. Tested on Tru64 and HP-UX.
>
> Ok to commit to HEAD?

Boris,

Please use separate #elif for every compiler. The line you are ORing your
condition with is actualy related to Intel.

Once you do it, it's OK to commit.

Thanks,
Arkadiy


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