This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 'pointer to unimplemented type' error
- From: Ian Lance Taylor <iant at google dot com>
- To: prashant rawat <prashantr dot iitb at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Oct 2009 00:13:58 -0700
- Subject: Re: 'pointer to unimplemented type' error
- References: <3c75ef2e0910110807s1278f905reeaa283c8e24448c@mail.gmail.com> <3c75ef2e0910110809p6f53bfcejc2bdea3e7e11fcdf@mail.gmail.com>
prashant rawat <prashantr.iitb@gmail.com> writes:
> I have to add a data structure to cgraph_node structure. My data
> structure is a pointer to tree node.
> If I add tree* abc to cgraph_node, I get an error 'field `(*x).abc'
> is pointer to unimplemented type'
> Does this mean that I cannot add pointer-to pointer data structures to
> cgraph_node?
> If anyone faced a similar problem, any suggested workaround to
> alleviate this issue?
Please be precise. What is the exact change you made? What is
happening when you get that error? As far as I can see, that error
message is from gengtype.
Note that the type 'tree' is already a pointer; are you sure you want
'tree* abc' and not simply 'tree abc'? I would not be surprised if
making that change fixes this problem.
Ian