------- Comment #4 from pinskia at gcc dot gnu dot org 2009-11-05 00:45 ------- 6.7.5.3/4 says: After adjustment, the parameters in the a parameter type list in a function declarator that is part of a definition of that function shall not have incomplete type.
But the adjustment is the decaying from [] to * which is mentioned in 6.7.5.3/7. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2009-11-05 00:45:37 date| | Summary|error: array type has |[4.3/4.4/4.5 Regression] |incomplete element type |error: array type has | |incomplete element type Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27065