This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10200] Weird clash with same names in different scopes
- From: "colin.mackenzie at ineoquest dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Jun 2015 22:19:29 +0000
- Subject: [Bug c++/10200] Weird clash with same names in different scopes
- Auto-submitted: auto-generated
- References: <bug-10200-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200
Colin MacKenzie <colin.mackenzie at ineoquest dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |colin.mackenzie at ineoquest dot c
| |om
--- Comment #26 from Colin MacKenzie <colin.mackenzie at ineoquest dot com> ---
Had this one today. Strange that it compiles fine in 4.4.6 but not in 4.8.2.
error: parse error in template argument list
Ex: assert(block.begin < block.end);
works when I parenthesize the block.begin
Ex. assert( (block.begin) < block.end);