[GCC-XML]gccxml and itk
Brad King
brad.king at kitware.com
Mon Jul 7 09:43:23 EDT 2003
> 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
More information about the gccxml
mailing list