[Bug c/31673] New: "`for' loop initial declaration used outside C99 mode" is confusing
j at uriah dot heep dot sax dot de
gcc-bugzilla@gcc.gnu.org
Mon Apr 23 20:33:00 GMT 2007
The error message
`for' loop initial declaration used outside C99 mode
is just confusing to the average user. The default -std level is "gnu89"
which forbids for loop initial declarations, but as the user might not
have even heard about C99 let alone mentioned that somewhere on purpose,
this message causes an unusual high amount of support traffic.
I suggest replacing it by
`foo' loop initial declarations are only allowed in C99 mode
--
Summary: "`for' loop initial declaration used outside C99 mode"
is confusing
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: j at uriah dot heep dot sax dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31673
More information about the Gcc-bugs
mailing list