This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31673] "`for' loop initial declaration used outside C99 mode" is confusing
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2007 16:36:00 -0000
- Subject: [Bug c/31673] "`for' loop initial declaration used outside C99 mode" is confusing
- References: <bug-31673-11199@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from manu at gcc dot gnu dot org 2007-05-23 17:36 -------
(In reply to comment #1)
> Created an attachment (id=13431)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13431&action=view) [edit]
> Suggested patch.
>
Joerg, please test the patch and modify any failing testcases, then submit the
patch to gcc-patches. I think your version is clearer. Perhaps "`for' loop
initial declarations only allowed in C99 mode" is shorter and equally clear.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31673