This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 25 Nov 2001 17:36:01 -0000
- Subject: Re: c++/4645: -Wall warning for -1 return on signed long does not make sense
- Reply-to: aoliva at gcc dot gnu dot org
[Get raw message]
The following reply was made to PR c++/4645; it has been noted by GNATS.
From: aoliva@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, waratah@zip.com.au
Cc:
Subject: Re: c++/4645: -Wall warning for -1 return on signed long does not make sense
Date: 25 Nov 2001 17:28:07 -0000
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