The new -Werror= option for GCC 4.3 is very useful to make GCC error out for specific warnings, but it currently lacks a way to make that warning an error (which is very useful to avoid skipping parameters in fprintf()-like functions.
Even -fdiagnostics-show-option suggested by the manual doesn't show an option name near those warnings, which seems to be available only with -Wall. -- Summary: "passing argument from incompatible pointer type" warning cannot be passed to -Werror= Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: flameeyes at gentoo dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37866