[GCC-XML]typedef and array in gccxml
Alia Amin
camin at cip.rz.fh-offenburg.de
Wed Oct 30 09:54:38 EST 2002
Hello,
while looking up on what gccxml can do, I found some features :
if I do a
/typedef unsigned char logical;
void check_datatypes(logical alogic){};
/
I get
/<Typedef name="logical" context="_1" location="f0:13" id="_7" type="_6" />
<Function name="check_datatypes" context="_1" location="f0:35" id="_5" >
<Argument name="aLogical" type="_6" />
</Function>
<FundamentalType name="unsigned char" id="_6" /> /
not exactly what I expected since I loss synonym information in my function.
/for double origin[3]/
gccxml falsly interprets as
/<Argument name="origin" type="_129" />
<PointerType id="_129" type="_121" />
<FundamentalType name="double" id="_121" /> /
no array information here.
Any reason for this ?
Thank you in advance.
regards,
Alia
More information about the gccxml
mailing list