Boost logo

Boost :

Subject: Re: [boost] warnings from gcc-4.3.3 -Wall
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-02-04 09:16:16

On Mon, Feb 2, 2009 at 12:48 PM, John Salmon <john_at_[hidden]> wrote:
> 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:

I've also had a private email about GCC 4.n warnings in Boost.Lambda.
I don't see any way to address these in 1.38.0. It is just too late.

What I suggest is that someone do a full GCC 4.n regression test run,
capture the warnings, and preferably submit a patch to quiet them.


Boost list run by bdawes at, gregod at, cpdaniel at, john at