Boost logo

Boost :

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


>> A downside is that #pragma GCC system_header suppreses all warnings, not
>> just the one you need to suppress.
>
> If you reach to isolate in a separated file the parts concerned by the
> warning, the #pragma GCC system_header will be less invasive.
> I understand that this could be confusing just to remove some warnings.

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?

John.


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