Language
C
Compiler
gcc 5.3.0
Options
C11(GNU)
no pedantic
$ gcc prog.c -std=gnu11
Exit Code:
0
Author
anonymous
over 4 years ago
C
gcc 5.3.0
Author
anonymous
over 4 years ago
$ gcc prog.c -std=gnu11
prog.c: In function 'main':
prog.c:6:5: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(s);
^
/tmp/cc46dBgu.o: In function `main':
prog.c:(.text+0x15): warning: the `gets' function is dangerous and should not be used.