public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100668] New: Wrong warning highlight
@ 2021-05-19 8:01 brahim.pro at protonmail dot com
2021-05-19 9:05 ` [Bug c++/100668] " redi at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: brahim.pro at protonmail dot com @ 2021-05-19 8:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100668
Bug ID: 100668
Summary: Wrong warning highlight
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: brahim.pro at protonmail dot com
Target Milestone: ---
const char* const f() {
return nullptr;
}
When I compile this with -Wignored-qualifiers, the wrong const keyword is
highlighted.
Same problem her:
char const* const f() {
return nullptr;
}
and here:
char* const f() {
return nullptr;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/100668] Wrong warning highlight
2021-05-19 8:01 [Bug c++/100668] New: Wrong warning highlight brahim.pro at protonmail dot com
@ 2021-05-19 9:05 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2021-05-19 9:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100668
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Looks like a variation of my PR 85468
*** This bug has been marked as a duplicate of bug 85468 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-19 9:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 8:01 [Bug c++/100668] New: Wrong warning highlight brahim.pro at protonmail dot com
2021-05-19 9:05 ` [Bug c++/100668] " redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).