|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-08-01 18:55:59
On Tue, 01 Aug 2006 14:03:27 +0200, Gennaro Prota
<gennaro_prota_at_[hidden]> wrote:
>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.
FWIW, both are silenced now.
>>[...]
>
>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).
Version 8.0 appeared a little smarter about the possible usage of an
uninitialized variable (though I'm a suspicious guy and wouldn't be
surprised to know that they have just special-cased it during their
internal tests with boost code) but warned about constant conditional
expressions anyway (something that Borland users have probably learned
to turn a blind eye to).
The "fix" is in the head only. Shout out very very loud if you want it
in the RC_1_34_0 branch too :-)
-- [ 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