This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Should typedef'd unnamed structs be supported?
- From: Philipp Thomas <pthomas at suse dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 25 Mar 2003 18:38:14 +0100
- Subject: Should typedef'd unnamed structs be supported?
- Organization: SuSE Linux AG
One of the GCC extensions is to allow unnamed structs and unions as
fields of a structure. Question now is, if that should also apply
to typedefs, i.e:
typedef struct {
int z;
} type_z;
struct B {
int i;
type_z;
};
Is supposed to work.
Philipp
--
Philipp Thomas <pthomas at suse dot de>
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany