Boost logo

Boost :

Subject: Re: [boost] Can we suppress integer_traits warnings?
From: John Maddock (john_at_[hidden])
Date: 2009-10-26 13:12:17

>> Nod. However, in this case the only code in the header after
>> the pragma is
>> the problem code causing the warnings, so I'm not sure we gain much?
> The pragma applies to the entire header, not just to the code following
> it, IIUC.

Are you sure? The gcc docs say:

"There is also a directive, #pragma GCC system_header, which tells GCC to
consider the rest of the current include file a system header, no matter
where it was found. Code that comes before the `#pragma' in the file will
not be affected."


Boost list run by bdawes at, gregod at, cpdaniel at, john at