|
Boost : |
Subject: Re: [boost] Official warnings policy?
From: Phil Richards (news_at_[hidden])
Date: 2009-11-07 12:42:36
On Thu, 2009-11-05 at 20:03 -0800, Steven Watanabe wrote:
> Emil, can you please silence the compiler somehow?
> We seem to waste time arguing about it on a regular
> basis. I've attached a patch that uses
> #pragma GCC system_header
>From my understanding of this pragma, it turns off all warnings from the
header. Maybe I'm being incredibly dumb, but isn't this a rather
shotgun approach to the problem? What if, by some chance, the header is
edited at some later stage and an issue is introduced that would have
generated (valid) warnings?
I'm not arguing one way or the other with regards this particular
warning (or this particular header), but this pragma seems to be a
particularly good way of introducing a delayed "shot in the foot" -
probably for somebody else.
Phil
-- Phil Richards, <news_at_[hidden]>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk