Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-01-03 15:57:47


"David Abrahams" <dave_at_[hidden]> wrote
>
> I don't know how or why this nastiness comes about, but it's true.
> Just think of how many checks which look for __GNUC__ are foiled by
> this one!
>
It is from Intel C++ 8 (for Linux only). Apparently way how to 'increase GCC
compatibility'.

> I am inclined towards a new policy for Boost which requires compiler
> identification only via BOOST_-prefixed macros.
>
Not always:

#if (defined _MSC_VER) && (_MSC_VER >= ...)
# pragma once
#endif

like situations may happen sometimes.

/Pavel


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