This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78119] New: wrong diagnostic pointer for -Werror=ignored-qualifiers
- From: "pawel_sikora at zoho dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2016 18:22:11 +0000
- Subject: [Bug c++/78119] New: wrong diagnostic pointer for -Werror=ignored-qualifiers
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78119
Bug ID: 78119
Summary: wrong diagnostic pointer for
-Werror=ignored-qualifiers
Product: gcc
Version: 6.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: pawel_sikora at zoho dot com
Target Milestone: ---
gcc points to the wrong 'const' in error message, e.g.:
error: type qualifiers ignored on function return type
[-Werror=ignored-qualifiers]
const HMESSAGE YamiReplyMsg::get() const {
^~~~~