This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]