This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27065] [4.3/4.4/4.5 Regression] error: array type has incomplete element type
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2009 00:45:38 -0000
- Subject: [Bug c/27065] [4.3/4.4/4.5 Regression] error: array type has incomplete element type
- References: <bug-27065-3157@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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