Subject: Re: [boost] Official warnings policy?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-05 14:04:11
On Thu, Nov 5, 2009 at 10:45 AM, Sid Sacek <ssacek_at_[hidden]> wrote:
> -----Original Message-----
>>> [ Steven Watanabe wrote ]
>>> I am not convinced that tracing through all the noise from a dozen
>>> different compilers is worth the effort from that standpoint.
>>> As far as I am concerned, the primary reason for eliminating
>>> warnings is that they are annoying to users.
> Don't you believe that with the right syntax a coder can get every compiler to become happy?
It isn't always about syntax, and it isn't always desirable to work
around the warning. Few examples:
- C4996 on MSVC should be disabled.
- non-virtual-dtor on GCC contradicts a valid design choice.
- the GCC warning about using C-style cast is annoying when I'm
casting 0 to a null pointer as in (T *)0.
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk