This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/7860] few new suggested warnings (for C89)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 02:58:40 -0000
- Subject: [Bug c/7860] few new suggested warnings (for C89)
- References: <20020908150600.7860.jhi@iki.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:58 -------
-Wpointer-implicit-sign
Warn if a pointer is implicitly cast between signed
and unsigned, for example:
int foo(unsigned char *s) {
...
}
...
char *s;
...
foo(s);
(enabled by -ansi)
This is turned on always now.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-04-27 03:56:35 |2004-07-27 02:58:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7860