This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36052] "type qualifiers ignored" warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Apr 2008 23:55:41 -0000
- Subject: [Bug c++/36052] "type qualifiers ignored" warning
- References: <bug-36052-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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