Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 1c19900f9417bd0b832c1cb70863b2439a18647f)

Options
Warnings
C11(GNU)
no pedantic

Author

anonymous

almost 6 years ago

$ clang prog.c -Wall -Wextra -std=gnu11
prog.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
line() , msg();
^
prog.c:1:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
line() , msg();
         ^
prog.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
line(){}
^
prog.c:8:8: warning: non-void function does not return a value [-Wreturn-type]
line(){}
       ^
prog.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
msg(){}
^
prog.c:9:7: warning: non-void function does not return a value [-Wreturn-type]
msg(){}
      ^
6 warnings generated.
Exit Code:
0