[GCC-XML]gcc 3.1.1

Brad King brad.king at kitware.com
Mon Nov 25 08:39:00 EST 2002


Neil,

> the gcc compiler i have available is 3.1.1 (we have now moved away from
> gcc 2.95.3 at my lab)

To use GCC-XML for ITK, you need the CVS version.  There is a file called
"gcc_cp_311.patch" that will patch gcc 3.1.1 for you.  Remember, though,
that the version of the compiler you use for GCC-XML does not have to
match the version you are using as a system compiler.  They are separate
tools.  The reason that 3.0.4 is suggested on the web page is that this is
the last version that still has the "std:: -> ::" namespace hack that lets
it parse GCC 2.95.3's header files.  Since you are not using 2.95, you
don't need to worry about it.

-Brad




More information about the gccxml mailing list