This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36432] “incompatible pointer type” with pointer to array as a struct member
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2008 10:46:01 -0000
- Subject: [Bug c/36432] “incompatible pointer type” with pointer to array as a struct member
- References: <bug-36432-7274@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jsm28 at gcc dot gnu dot org 2008-06-04 10:46 -------
GCC is wrongly treating any [] in a field declarator as meaning a flexible
array member, instead of only those declaring the field itself as an array.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16620, 16989
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-06-04 10:46:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36432