Boost logo

Boost :

Subject: [boost] Can we suppress integer_traits warnings?
From: John Maddock (john_at_[hidden])
Date: 2009-10-26 04:56:19


If you have a program that simply includes boost/integer_traits.hpp and is
compiled with g++ -pedantic you get a bunch of warnings:

./boost/integer_traits.hpp:164:57: warning: use of C99 long long integer
constant
./boost/integer_traits.hpp:164:73: warning: use of C99 long long integer
constant
./boost/integer_traits.hpp:170:62: warning: use of C99 long long integer
constant
./boost/integer_traits.hpp:170:62: warning: use of C99 long long integer
constant

And no matter where I insert __extension__ I can't seem to get gcc to
suppress these:-(

Any ideas?

BTW I'm asking because this came to me as a - somewhat misplaced - bug
report: https://svn.boost.org/trac/boost/ticket/1451.

Thanks, John.


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