[Bug c/70910] error declaring a type in clause-1 of a for statement

2016-05-02 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70910 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/70910] error declaring a type in clause-1 of a for statement

2016-05-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70910 --- Comment #2 from Martin Sebor --- Thanks for the pointer. That seems like a rather gratuitous restriction, and an unnecessary deviation from the C++ rule where the feature originated. I'm also not sure that the committee's response to the DR