Search notes:
gcc -pedantic
Using
-pedantic
will print a warning message if a GCC language extension is found in the source file.
-pedantic
is equivalent to
-Wpedantic
.
See also
GCC options
Index