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

jozef.l at mittosystems dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 28 10:15:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88237

            Bug ID: 88237
           Summary: __extension__ in function declaration argument list
                    causes error
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jozef.l at mittosystems dot com
  Target Milestone: ---

The following code errors on trunk:

void foo (__extension__ int a);

> gcc -S tester.c
> 
> tester.c:11:11: error: expected declaration specifiers or '...' before '__extension__'
>    11 | void foo (__extension__ int a);


More information about the Gcc-bugs mailing list