[Bug c/88237] __extension__ in function declaration argument list causes error

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 28 15:06:00 GMT 2018


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.


More information about the Gcc-bugs mailing list