This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4645: -Wall warning for -1 return on signed long does not make sense
- From: aoliva at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, waratah at zip dot com dot au
- Date: 25 Nov 2001 17:28:07 -0000
- Subject: Re: c++/4645: -Wall warning for -1 return on signed long does not make sense
[Get raw message]
Synopsis: -Wall warning for -1 return on signed long does not make sense
State-Changed-From-To: open->feedback
State-Changed-By: aoliva
State-Changed-When: Sun Nov 25 09:28:06 2001
State-Changed-Why:
Could it be the type of PZSTREAM->total_out causing nOldTotal_Out to promote to unsigned long int, and ditto for the ``else'' branch of the ternary operator?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4645&database=gcc