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++/53573] template type dependent name resolution broken


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.


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