[Bug c++/36052] type qualifiers ignored warning
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-06-27 17:46 --- *** Bug 36656 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||sebor at roguewave dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052
[Bug c++/36052] type qualifiers ignored warning
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-06-27 17:47 --- Really I don't see any differences between this and PR 30601. *** This bug has been marked as a duplicate of 30601 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052
[Bug c++/36052] type qualifiers ignored warning
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-04-26 09:12 --- I think we should restrict the warning to explicitly specified qualifiers, thus move it completely under the control of the parser. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052
[Bug c++/36052] type qualifiers ignored warning
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2008-04-26 09:12:16 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052
[Bug c++/36052] type qualifiers ignored warning
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-25 23:55 --- This warning is correct, and not really bogus as the qualification is ignored on the return value here even though not explicitly written by the user in the function declaration. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Summary|[4.3/4.4 regression] bogus |type qualifiers ignored |type qualifiers ignored |warning |warning | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052
[Bug c++/36052] type qualifiers ignored warning
--- Comment #2 from bangerth at math dot tamu dot edu 2008-04-26 00:01 --- Subject: Re: type qualifiers ignored warning This warning is correct, and not really bogus as the qualification is ignored on the return value here even though not explicitly written by the user in the function declaration. No, sure, I fully understand that the 'const' is ignored here. What I'm saying is that this just happens to be a harmless side effect of the way I write the template. The point is that I need to write it this way so I can use classes in place of S that define value_type not as PODs, but as references or similar things. This is one of those warnings that simply make no sense with templates. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36052