This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21486] C Compiler does NOT signal anything when there is an increment of char * without target variable
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2005 12:04:49 -0000
- Subject: [Bug c/21486] C Compiler does NOT signal anything when there is an increment of char * without target variable
- References: <20050510105235.21486.frans@iunknown.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2005-05-10 12:04 -------
$ gcc -Wall simple.c
simple.c:4: warning: return type defaults to ‘int’
simple.c: In function ‘main’:
simple.c:7: warning: statement with no effect
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21486