c++/10538: gcc 3.2.3 does not issue a warning for "int a = a + 1" statements
Wolfgang Bangerth
bangerth@ices.utexas.edu
Tue Apr 29 14:36:00 GMT 2003
The following reply was made to PR c++/10538; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Remo Inverardi <invi@your.toilet.ch>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/10538: gcc 3.2.3 does not issue a warning for "int a = a +
1" statements
Date: Tue, 29 Apr 2003 09:32:28 -0500 (CDT)
> I just gave the current GCC documentation a second look, but I was not
> able to identify the extension your referring to (?) ...
Maybe you're right. I tried to locate it in the manual some time ago and
couldn't find it either, after it had been discussed on the mailing lists
for the umpteenth time. It's documented in the mailing list archives, but
that is not a very good place...
> what's more, I
> just tried compiling the same code with -ansi, -pedantic, and -Wall
> options, neither of which gave me a warning ...
That's why I didn't close the report.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/
More information about the Gcc-prs
mailing list