Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-03-02 07:30:23


Beman Dawes wrote:
> In discussions with the Intel folks about their spoofing of __GNUC__
> on Linux, Clark Nelson pointed out that Boost code should be much
> more careful about use of any predefined compiler identification
> macro, because there is nothing to prevent any compiler in the future
> predefining compiler identification macros used by other compilers.
> Scary as it is, he is right AFAICS.

[...]

> To be consistent and to prevent being blindsided in the future by
> other compilers deciding to spoof one another's macros, perhaps we
> should define BOOST_x, where x is the compiler name, for every
> compiler we have a config for. And then pointing out the problem in
> our lib guide for developers.

Or perhaps we should do nothing unless our tests indicate a problem or we
get a bug report. Life is too short.


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