This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53573] template type dependent name resolution broken
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Jun 2012 11:03:26 +0000
- Subject: [Bug c++/53573] template type dependent name resolution broken
- Auto-submitted: auto-generated
- References: <bug-53573-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53573
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-05 11:03:26 UTC ---
(In reply to comment #6)
> The suggested work around in the error message 'adding -fpermissive' to
> gcc-4.7.0 does not fix the problem as suggested by the error message.
As Manu says, -fpermissive changes the error to a warning, allowing the code to
compile. Please check it again.
I'm going to close this, as I think G++ handles comment 1 correctly and both
EDG and Clang agree.
I didn't check all your other examples in detail but I don't think they show
anything different: ADL doesn't find anything for built-in types such as int or
char.