This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/57630] New: Error should include -std=c11 and friends
- From: "lailavrazda1979 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Jun 2013 19:22:15 +0000
- Subject: [Bug c/57630] New: Error should include -std=c11 and friends
- Auto-submitted: auto-generated
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.