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/57630] New: Error should include -std=c11 and friends


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57630

            Bug ID: 57630
           Summary: Error should include -std=c11 and friends
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lailavrazda1979 at gmail dot com

The following message:

"error: 'for' loop initial declarations are only allowed in C99 mode
minigen.c:88:2: note: use option -std=c99 or -std=gnu99 to compile your code"

should include "-std=c11" and friends.


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