|
Boost : |
Subject: [boost] warnings from gcc-4.3.3 -Wall
From: John Salmon (john_at_[hidden])
Date: 2009-02-02 12:48:51
I recently upgraded to gcc/4.3 and started seeing warnings from
gcc-4.3.3 -Wall suggesting parentheses around && within ||.
It would be great if boost/1.38 could repair these by adding a few
pairs of parentheses before the final release.
N.B. I did not do an exhaustive compilation of everything in boost
with gcc -Wall. The three cases below are the ones that my code base
just happens to hit.
Thanks,
John Salmon
/proj/desres/root/Linux/x86_64/boost/1_37_0-14/Release/include/boost/tuple/tuple_comparison.hpp:73:
warning: suggest parentheses around && within ||
/proj/desres/root/Linux/x86_64/boost/1_37_0-14/Release/include/boost/iostreams/filter/symmetric.hpp:126:
warning: suggest parentheses around && within ||
/proj/desres/root/Linux/x86_64/boost/1_37_0-14/Release/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:285:
warning: suggest parentheses around && within ||
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk