This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/31673] "`for' loop initial declaration used outside C99 mode" is confusing



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]