[GCC-XML] Re: Using gccxml on a C file?

Tony Whitley tony.whitley at vodafone.net
Tue Jan 3 05:32:46 EST 2006


I'm using gccxml to extract source file information from a C file but I get
a variety of C++ errors like:

  error: ISO C++ forbids declaration of `...` with no type

and I'd rather not edit all the (header) files to make them C++ compatible.

I tried using

  set GCCXML_FLAGS=-x c

but that just produces the error

  gccxml_cc1plus.exe: error: unrecognized option `-x c'

Is there a way of making gccxml handle a plain C file?

-- 
Tony Whitley




More information about the gccxml mailing list