Boost logo

Boost :

Subject: Re: [boost] [warnings] Are warnings acceptable artifacts from builds?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-09-08 17:18:03


On Tue, Sep 8, 2009 at 1:59 PM, Stewart, Robert<Robert.Stewart_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>> On Tue, Sep 8, 2009 at 1:27 PM, Stewart,
>> Robert<Robert.Stewart_at_[hidden]> wrote:
>> > Emil Dotchevski wrote:
>> >> On Tue, Sep 8, 2009 at 1:11 PM, Stewart,
>> >> Robert<Robert.Stewart_at_[hidden]> wrote:
>> >> >
>> >> > The warning may, in fact, be unreasonable, but the library
>> >> > author should do all possible to quiet the warning.
>> >>
>> >> Why?
>> >
>> > For the reasons I already gave.
>>
>> To address someone's preference?
>
> Come now.  I gave more reasons than that one.

I think that you assume that the warning is reasonable and easy to
fix, as with most warnings that could be silenced with casts. A lot of
times, fixing such warnings is common sense. In that case, just a note
to the library developer would be enough to have it fixed.

But you can't generalize from this, to "all warnings should be silenced."

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