https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69262
Bug ID: 69262
Summary: Request for better array bounds warning
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: nightstrike at gmail dot com
Target Milestone: ---
In g++, if you have a function like 'void f(int [][])', you get the helpful
error message:
"error: multidimensional array must have bounds for all dimensions except the
first"
If you do it in gcc, you get the less helpful message:
"error: array type has incomplete element type"
Any chance gcc could use the error message from g++?