Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C

Compiler

gcc 8.2.0

Options
C89
-pedantic-errors

Author

anonymous

over 6 years ago

$ gcc prog.c -std=c89 -pedantic-errors
prog.c: In function 'main':
prog.c:9:9: error: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
         int a;
         ^~~
Exit Code:
1