https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114526

--- Comment #7 from Kaz Kylheku <kkylheku at gmail dot com> ---
Also, it would be useful for the documentation to list all the -W-* options
that are implied by -Wpedantic.

The function/object pointer conversion diagnostics, unfortunately, are tied to
-Wpedantic itself, which is unhelpful.

-Wpedantic serves both as a diagnostic option, and a container for diagnostic
options. E.g if you don't want the extension of void * pointer arithmetic, you
can use -Wpointer-arith to diagnose it; that is turned on by -Wpedantic.

Reply via email to