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++/10200] Weird clash with same names in different scopes


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);


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