This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)
- From: "bangerth at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2009 19:43:36 -0000
- Subject: [Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)
- References: <bug-40561-15371@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from bangerth at gmail dot com 2009-08-26 19:43 -------
(In reply to comment #7)
> pr.cc:38: error: invalid operands of types ‘bool’ and ‘int’ to binary
> ‘operator==’
This is doubly fascinating as there is no operator== in this line ;-)
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561