[GCC-XML]gccxml and macros

james anderson james.anderson at setf.de
Mon Feb 2 10:40:30 EST 2004


hello;

i am try to understand whether gccxml can be configured to produce - or 
even can possibly produce - descriptions of c preprocessor macros. i 
observe that there appear to be no remnants of #define'd macro 
definitions in the output for the cases is have tried, and understand 
that the xml generator runs after the cpp is complete, which leaves me 
to wonder if there is anything left wrt macros to output at that point.

still i enquire. the issue is that, if one wants to use the results to 
generate an interface to a c-library from another language, and that 
library's documentation makes reference to said macros, it would be 
nice to include them in the automatically generated translated 
interface description.

any thoughts?

...




More information about the gccxml mailing list