Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-08-18 06:37:44


> Since I do not want to use -pedantic but not specify -Wno-longlong--I
> really do want the 'pedantic' warnings with unadorned extensions like
> long long warned--it is likely that I (and perhaps many other people who
> use GCC) will retain something like this patch locally if it is deemed
> inappropriate for Boost. This would be unfortunate.

How about something like:

BOOST_EXTENSION(x)

which expands to "__extension__ x" on gcc and "x" otherwise?

Then we can use BOOST_EXTENSION(long long) where necessary.

Thoughts?

John.


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