Subject: Re: [boost] Are warnings acceptable artifacts from builds?
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-09-13 13:51:04
Robert Ramey wrote:
> Vladimir Prus wrote:
>> Robert Ramey wrote:
>>> For the sake of argument, suppose I wanted to attempt to reduce or
>>> eliminate warnings for the library I maintain. How would I go about
>>> doing this? I can see the warnings when I build the library on my
>>> own machine. But I can't see any warnings when I view the test
>>> results matrix. Even if it produces warnings, it shows green with
>>> no link to view the bjam output. Perhaps if the warnings were
>>> accessible, there might be more motivation to address them.
>> This is true. Though reverse argument may also be true -- no library
>> developer ever asked for warnings to be shown.
> OK - I'm asking.
I went back and checked the results table on my local machine.
This table is generated by invoking
../../../tools/regression/src/library_test.sh (or bat)
from BOOST_ROOT/libs/serialization/test directory. It
shows links for warning output when when the test passes with
a warning. I never really looked at these before. Now that
I do it seems almost all are due to one particular header
that has an easy fix. A couple of others - e.g. using
hash rather than unordered emit warnings which are legitimate
so I won't mess with them. Seems that I'm almost off the
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk