Language
C
Compiler
gcc 8.3.0
Options
Warnings
C11
no pedantic
Raw compiler options
-Wpedantic
$ gcc prog.c -Wall -Wextra -std=c11 -Wpedantic
Exit Code:
0
Author
anonymous
about 6 years ago
C
gcc 8.3.0
Author
anonymous
about 6 years ago
$ gcc prog.c -Wall -Wextra -std=c11 -Wpedantic
prog.c:3:32: warning: '-Werror' is not an option that controls warnings [-Wpragmas]
#pragma GCC diagnostic ignored "-Werror"
^~~~~~~~~
prog.c: In function 'main':
prog.c:6:9: warning: unused variable 'i' [-Wunused-variable]
int i = 3;
^