[GCC-XML]Including typedefs in the type graph.

Paul Ross paul at paulross.demon.co.uk
Mon Oct 27 16:14:47 EST 2003


Doh!

I realised sometime after I posted that I was working with a legacy 
version 1.61 rather than 1.65. If it is OK with you I will see if I 
can develop, test and integrate the patch this coming weekend with 
the latest CVS version (trickiness duly noted so no guarantees!).

Out of curiosity is there any plan to make a 0.5 release?

Cheers,

Paul.


>On Sun, 26 Oct 2003, Paul Ross wrote:
>
>>  I am using gccxml (great product by the way!) for an API documentation
>>  project and I was wondering whether it was possible to include typedef
>>  information in the graph that resolves type information.
>
>This is a good idea, and has been requested before.  Thanks for taking the
>time to implement it!
>
>>  I finally got this working and seems to be fine on the tests I have run.
>>  If you have typedefs to other typedefs or mixed pointer/references it
>>  seems to chain them all together as the correct graph.
>>
>>  It requires the following changes in xml.c (the diff for $Revision:
>>  1.61 $ is in the postscript):
>
>Unfortunately, the current revision of xml.c is 1.65, and the changes
>since 1.61 have already changed the same two functions.  I don't have time
>to manually merge your changes, so please submit a new patch against 1.65.
>The new function to change is xml_print_type_idref.  It is a little tricky
>now due to cv-qualification creating separate nodes.
>
>Thanks,
>-Brad





More information about the gccxml mailing list