Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-08-01 08:03:27


On Tue, 1 Aug 2006 12:42:35 +0100, "Paul A Bristow"
<pbristow_at_[hidden]> wrote:

>I am strongly in favour of supporting 8.0 warning level 4.

Yes, the OP talked about 7.1 though.

>It provides ***some*** useful warnings, as well as some less helpful ones.
>
>Code that is warning free is a higher quality even if the warnings are
>supressed because it shows the issues have been considered.

Makes sense. Unfortunately in code targeted at so many compilers as
boost code is filtering the necessary #pragmas gets quite annoying,
besides decreasing readability (unless you filter on the whole source
file, which decreases reliability).

I'll have a look this morning and see if it also emits warning for
constant if expressions etc (I'm pretty sure 7.1 does). But I guess
this can't go in the 1.34 branch at this stage (not that I think we
are close to release, but I don't want to further move away from it
either)

--
[ Gennaro Prota, C++ developer for hire ]

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