public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106362] New: -Wc++20-compat should not warn with __extension__
@ 2022-07-19 22:19 mpolacek at gcc dot gnu.org
2022-07-23 10:21 ` [Bug c++/106362] " egallager at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-07-19 22:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106362
Bug ID: 106362
Summary: -Wc++20-compat should not warn with __extension__
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mpolacek at gcc dot gnu.org
Target Milestone: ---
As noted here:
<https://sourceware.org/pipermail/libc-alpha/2022-July/140825.html>, the
following should probably not generate a warning:
__extension__ int char8_t;
$ ./cc1plus -quiet g.C -Wc++20-compat
g.C:1:19: warning: identifier ‘char8_t’ is a keyword in C++20 [-Wc++20-compat]
1 | __extension__ int char8_t;
| ^~~~~~~
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/106362] -Wc++20-compat should not warn with __extension__
2022-07-19 22:19 [Bug c++/106362] New: -Wc++20-compat should not warn with __extension__ mpolacek at gcc dot gnu.org
@ 2022-07-23 10:21 ` egallager at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: egallager at gcc dot gnu.org @ 2022-07-23 10:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106362
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=105499,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=71003
CC| |egallager at gcc dot gnu.org
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
See also bug 105499 and bug 71003 for other issues with __extension__
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-23 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 22:19 [Bug c++/106362] New: -Wc++20-compat should not warn with __extension__ mpolacek at gcc dot gnu.org
2022-07-23 10:21 ` [Bug c++/106362] " egallager 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).