[Issue 23716] compilable/testcstuff2.c:18:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘asm’

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 15 17:57:27 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23716

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
More errors:

runnable/test23011.c:7:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘asm’
    7 | extern char **myenviron asm("environ");
      |                         ^~~

runnable/test23011.c:8:27: error: expected declaration specifiers before ‘asm’
    8 | int myprintf(char *, ...) asm("printf");
      |                           ^~~


runnable/test23347.c:12:14: error: expected declaration specifiers before ‘asm’
   12 | void spoon() asm("fork");
      |              ^~~

--


More information about the Digitalmars-d-bugs mailing list