[Insight-developers] SGI 7.4.2 compilers with Wrapping

Brad King brad.king at kitware.com
Mon Aug 1 09:43:37 EDT 2005


Hans Johnson wrote:
> Building wrap_vnl_c_vector.xml from
> /scratch/hjohnson/src/brains2/iplFreeware/SGI/FAST/Insight/Wrapping/CSwig/VX
> LNumerics/wrap_vnl_c_vector.xml...
[snip]
> /scratch/hjohnson/src/brains2/iplFreeware/unpackdir/Insight/Wrapping/CSwig/V
> XLNumerics/wrap_vnl_c_vector.cxx:18:
> /usr/include/CC/cmath:4:2: #error This header requires the
> -LANG:libc_in_namespace_std option
[snip]
> The confusing parts are that -LANG:libc_in_namespace_std  is implicitly
> turned on, and I've also tried explicitly setting this flag in the compiler
> flags of cmake.

The error is being given when GCC-XML parses the sources.  Somehow we 
have to convince GCC-XML to produce the correct preprocessor 
definitions.  Try running a verbose build to see the command line that 
gets executed for gccxml.

-Brad


More information about the Insight-developers mailing list