Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 5 years ago

Language

C

Compiler

gcc 9.2.0

Options
C89
no pedantic

Author

anonymous

over 5 years ago

$ gcc prog.c -std=c89
prog.c: In function 'hoge':
prog.c:6:15: error: incompatible types when returning type 'int' but 'bool' {aka 'struct <anonymous>'} was expected
    6 |     return (a == b);
      |            ~~~^~~~~
Exit Code:
1