[Insight-developers] OSX Wrapping with GCC4.0

Kent Williams norman-k-williams at uiowa.edu
Tue May 10 11:36:18 EDT 2005


Here's a headscratcher for me -- wrapping is failing with GCC4 on OSX 
Tiger. Is anyone else trying this?

Generating wrap_ITKCommonBase.xml
Insight/Utilities/CableSwig/GCC_XML/Support/GCC/4.0/bits/basic_string.h: In
   static member function `static _CharT* std::basic_string<_CharT, _Traits,
   _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with
   _InIterator = char*, _CharT = char, _Traits = std::char_traits<char>, 
_Alloc
   = std::allocator<char>]':
/usr/include/gcc/darwin/4.0/c++/bits/basic_string.tcc:240:   
instantiated from `std::basic_string<_CharT, _Traits, 
_Alloc>::basi                    c_string(_InputIterator, 
_InputIterator, const _Alloc&) [with _InputIterator = char*, _CharT = 
char, _Traits = std::char_traits<                    char>, _Alloc = 
std::allocator<char>]'
/usr/include/gcc/darwin/4.0/c++/sstream:147:   instantiated from 
`std::basic_string<_CharT, _Traits, _Alloc> 
std::basic_stringbu                    f<_CharT, _Traits, _Alloc>::str() 
const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
std::allocator<char>]'
/usr/include/gcc/darwin/4.0/c++/sstream:516:   instantiated from 
`std::basic_string<_CharT, _Traits, _Alloc> 
std::basic_ostrings                    tream<_CharT, _Traits, 
_Alloc>::str() const [with _CharT = char, _Traits = 
std::char_traits<char>, _Alloc = std::allocator<char>                    ]'
Insight/Code/Common/itkExceptionObject.h:160:   instantiated from here
Insight/Utilities/CableSwig/GCC_XML/Support/GCC/4.0/bits/basic_string.h:1455: 
error:                     no
   type named `__type' in `struct std::__is_integer<char*>'
Insight/Utilities/CableSwig/GCC_XML/Support/GCC/4.0/bits/basic_string.h:1456: 
error:                     no
   type named `__type' in `struct std::__is_integer<char*>'
make[5]: *** [wrap_ITKCommonBase.xml] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all_CommonA] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all_Wrapping_CSwig] Error 2
m



More information about the Insight-developers mailing list