[GCC-XML] Re: pragmas, preprocessor

Thomas Heller theller at python.net
Thu Sep 2 15:51:19 EDT 2004


Sorry for the followup to my own post, but I found the solution to the
latter problem myself ;-)
I wrote:
> Another problem I have is that it would be great if I were able to dump
> preprocessor definitions - IIRC, gcc was able to do that.  Is it
> possible with gccxml?

And I found the --preprocess -dM switches, which preprocess only, and
then dump out the macros.
This question remains open:

> The problem I have now is that MSVC uses pragmas to specify the packing
> alignment for structure and union members.  Is it somehow possible to
> get these pragmas?

Thomas




More information about the gccxml mailing list