This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/88237] __extension__ in function declaration argument list causes error
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Nov 2018 15:06:03 +0000
- Subject: [Bug c/88237] __extension__ in function declaration argument list causes error
- Auto-submitted: auto-generated
- References: <bug-88237-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88237
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #3)
> __extension__ can also be used for declarations and definitions that contain
> extensions, but it needs to occur at the start of them.
It'd be nice if the error message said this and offered a fix-it hint, instead
of printing the confusing "expected" wording.