Search notes:
gcc -pedantic
-pedantic
is equivalent to
-Wpedantic
.
See also
GCC options
Index