This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37866] New: "passing argument from incompatible pointer type" warning cannot be passed to -Werror=
- From: "flameeyes at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2008 22:24:27 -0000
- Subject: [Bug c/37866] New: "passing argument from incompatible pointer type" warning cannot be passed to -Werror=
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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