Language
C
Compiler
gcc 10.1.0
Options
Warnings
C11(GNU)
no pedantic
$ gcc prog.c -Wall -Wextra -std=gnu11
oeuia
egoh
Exit Code:
0
Author
anonymous
over 4 years ago
C
gcc 10.1.0
Author
anonymous
over 4 years ago
$ gcc prog.c -Wall -Wextra -std=gnu11
prog.c: In function 'main':
prog.c:8:17: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
8 | gets(str);
| ^~~~
| fgets
/tmp/ccwv7M7F.o: In function `main':
prog.c:(.text+0x15): warning: the `gets' function is dangerous and should not be used.
oeuia
egoh