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

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-05 11:33:59 UTC ---
(In reply to comment #12)
> (In reply to comment #10)
> 
> although -fpermissive allows the code to compile (in some circumstances) it
> does not in all, and it also produces incorrect output, for example:

-fpermissive is a kluge to allow non-standard code to compile, so *obviously*
it gives the wrong result in some cases, that's the point!

It allows comment 1 to compile, as the diagnostic indicates. If you don't like
the results of using -fpermissive then fix your code and don't use it.


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