Boost logo

Boost :

Subject: Re: [boost] Help needed in fixing warnings
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-10 16:40:49


On Tue, Nov 10, 2009 at 11:32 AM, Stewart, Robert
<Robert.Stewart_at_[hidden]> wrote:
> Giovanni Piero Deretta wrote:
>>
>> Sorry for getting in this late, but with gcc, isn't it better to just
>> include boost code with --isystem instead of -I?
>
> Does that suppress warnings related to user-supplied template
> parameters causing untoward behavior in Boost templates?
> Using static_cast, for example, is surgical in nature, whereas
> --isystem is systemic.  Put another way, will using --isystem
> quiet too much?

It depends on the definition of too much. One possible definition is
that as long as using Boost doesn't hide more warnings than using STL,
it isn't too much.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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