[GCC-XML]gccxml and itk

Michael Burns mb102 at doc.ic.ac.uk
Mon Jul 7 10:25:09 EDT 2003


Hi Brad,

Problem fixed, it was an error on my part.

Thanks for the help,

Michael

-----Original Message-----
From: gccxml-admin at gccxml.org [mailto:gccxml-admin at gccxml.org]On Behalf
Of Brad King
Sent: 07 July 2003 14:43
To: Michael Burns
Cc: GCC-XML Discussion
Subject: RE: [GCC-XML]gccxml and itk


> Yes you were correct I was missing a VNL header that needed to be
> included. I have written a simple C++ file that includes an ITK header -
> it compiles fine with g++, however when I try to compile with gccxml
> (with the same flags and includes) I get the following errors:
>
> vnl_vector.h:320: invalid data member initialization
> vnl_vector.h:320: (use `=' to initialize static data members)
> `vcl_ostream' was not declared in this scope
> vnl_vector.h:413: ISO C++ forbids declaration of `operator<<' with no type
> vnl_vector.h:414: `int& operator>>(...)' must take exactly two arguments
> vnl_vector.h:414: syntax error before `&' token

Please send me the following:

1.) vnl_vector.h
2.) The version / date of ITK.
3.) The full command line of gccxml you're calling.
4.) The output of running your gccxml command line with "--print" added.
5.) The version of g++ you're running (g++ --version)
6.) Any compiler flags you're using (echo $CXXFLAGS)

Thanks,
-Brad

_______________________________________________
gccxml mailing list
gccxml at gccxml.org
http://www.gccxml.org/mailman/listinfo/gccxml




More information about the gccxml mailing list