Boost logo

Boost :

Subject: Re: [boost] [gil::io_new] Help with gcc compiler
From: Christian Henning (chhenning_at_[hidden])
Date: 2012-07-06 20:54:49

Hi Nathan,

>> OK, I'll change my warning level to 4 and fix everything I can. Seems
>> like boost::gil generates quite a few warnings, as well. But that's
>> for later.
> Yes, there are some warnings at level 4 which are very often triggered
> by GIL. Common ones are: conditional expression is constant,
> assignment operator couldn't be generated due to reference member, and
> more when compiled in 64-bit. <rant>The second is particularly
> annoying -- if I wanted to be able to copy-assign, I wouldn't have put
> a reference member in there!</rant> I tend to suppress those
> particular warnings as a matter of course -- GIL code would not be
> improved by hacking around these illegitimate warnings. . .

I should fix those warnings. It's annoying, you are right!


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