This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17041] [3.5 regression] Erroneous "suggest parentheses around assignment used as truth value" warning in template members.


------- Additional Comments From carlo at alinoe dot com  2004-08-17 15:33 -------
Subject: Re:  [3.5 regression] Erroneous "suggest parentheses around assignment used as truth value" warning in template members.

On Tue, Aug 17, 2004 at 03:25:47PM -0000, jsm at polyomino dot org dot uk wrote:
> I take it then that this works (i.e. doesn't warn) in 3.3.x or earlier, 
> for it to be a regression?  Since this warning was *completely* broken 
> (i.e. never warning even when it should) in 3.4.x as it hadn't been 
> reimplemented for the new parser.

Not sure for the testcases - but yes.  I compile my libraries with
3.3.3 too - and use -Wall -Werror.  I never ran into this before.
It is a totally new regression in the sense that code that has
compiled fine for a long time suddenly stopped compiling.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17041


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]