[Insight-users] Build error on SunOS with CSwig Tcl wrapping

Brad King brad . king at kitware . com
Fri, 10 Oct 2003 12:51:52 -0400 (EDT)


On Fri, 10 Oct 2003, Marc Traina wrote:
> Linux and Windows builds are OK.
> But the files generated by CSWIG on SunOS don't include the "std::"
> prefix before each class of the std namespace as it is done in the linux
> and Windows builds.
> Error messages are generated by gcc3.3 each time "std::" is missing.

CSWIG parses the ITK code with GCC-XML, which pretends to be the compiler
that will be used to build the wrappers.  It is possible that it is
choosing a different compiler that does not have the std namespace.

What compilers are installed on the Sun machine?  Is there one that
doesn't have std?

-Brad