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 #7 from manu at gcc dot gnu dot org  2008-08-27 23:55 -------
Subject: Bug 31673

Author: manu
Date: Wed Aug 27 23:54:36 2008
New Revision: 139681

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139681
Log:
2008-08-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR c/31673
        * c-decl.c (check_for_loop_decls): Improve error message. Give
        hint.
testsuite/
        * gcc.dg/c90-fordecl-1.c: Update.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/c90-fordecl-1.c


-- 


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]