This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14188] New: Suggestion: improve warning message for call through incompatible type
- From: "simonmar at microsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Feb 2004 10:06:38 -0000
- Subject: [Bug c/14188] New: Suggestion: improve warning message for call through incompatible type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When calling a function through an incompatible type, gcc emits this warning
message:
test1.hc:14: warning: function called through a non-compatible type
and replaces the call with a fatal trap. This is legal, since the behaviour
in such cases is undefined. However, it would be useful to the programmer if
the warning message mentioned that the call had been compiled as a fatal trap.
--
Summary: Suggestion: improve warning message for call through
incompatible type
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c
AssignedTo: ebotcazou at gcc dot gnu dot org
ReportedBy: simonmar at microsoft dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14188