What steps will reproduce the problem?
On ubuntu 8.04 LTS
gcc 4.2.4
Using ITK 3.16.0 compiled in Release Shared mode
Using wrapitk 0.3.0 compiled in Release with GCCXML and JAVA wrapping ON,
Got the following output:
make
[ 0%] Built target install_wrapitk_compatibility
[ 0%] Built target ITKJavaBaseIdx
[ 0%] Built target ITKJavaBaseSwig
[ 0%] Built target ITKJavaBaseJava
[ 0%] Built target ITKJavaBaseJavaJar
[ 0%] Generating wrap_vcl_complex.xml
In file included from /usr/include/c++/4.2/complex:47,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/ORFEO/julien/TEMP/wrapitk-bin/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.2/x86_64-linux-gnu/bits/c++config.h:149: error: syntax error
before `__attribute__'
In file included from /usr/include/c++/4.2/complex:48,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/ORFEO/julien/TEMP/wrapitk-bin/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.2/bits/cpp_type_traits.h:74: error: syntax error before `
__attribute__'
/usr/include/c++/4.2/bits/cpp_type_traits.h:81: error: syntax error before `
__attribute__'
/usr/include/c++/4.2/bits/cpp_type_traits.h:91: error: syntax error before `('
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:91: error: syntax error before `::'
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:94: error: syntax error before `}'
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:313: error: syntax error before `::
' token
/usr/include/c++/4.2/bits/cpp_type_traits.h:313: error: syntax error before `<'
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:318: error: syntax error before `}'
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:350: error: syntax error before `::
' token
/usr/include/c++/4.2/bits/cpp_type_traits.h:351: error: syntax error before `::
' token
/usr/include/c++/4.2/bits/cpp_type_traits.h:352: error: missing ';' before
right brace
/usr/include/c++/4.2/bits/cpp_type_traits.h:353: error: syntax error before `}'
token
/usr/include/c++/4.2/bits/cpp_type_traits.h:401: error: syntax error before `}'
token
In file included from /usr/include/c++/4.2/ext/type_traits.h:40,
from /usr/include/c++/4.2/cmath:52,
from /usr/include/c++/4.2/complex:49,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/ORFEO/julien/TEMP/wrapitk-bin/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.2/cstddef:53: error: syntax error before `__attribute__'
/usr/include/c++/4.2/cstddef:58: error: syntax error before `}' token
In file included from /usr/include/c++/4.2/utility:66,
from /usr/include/c++/4.2/ext/type_traits.h:41,
from /usr/include/c++/4.2/cmath:52,
from /usr/include/c++/4.2/complex:49,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/ORFEO/julien/TEMP/wrapitk-bin/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.2/bits/stl_relops.h:74: error: syntax error before `
__attribute__'
/usr/include/c++/4.2/bits/stl_relops.h:134: error: syntax error before `}'
token
In file included from /usr/include/c++/4.2/utility:67,
from /usr/include/c++/4.2/ext/type_traits.h:41,
from /usr/include/c++/4.2/cmath:52,
from /usr/include/c++/4.2/complex:49,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/iso/vcl_complex.h:6,
from
/ORFEO/julien/TEMP/InsightToolkit-3.16.0/Utilities/vxl/vcl/vcl_complex.h:62,
from
/ORFEO/julien/TEMP/wrapitk-bin/Libraries/VXLNumerics/wrap_vcl_complex.cxx:1:
/usr/include/c++/4.2/bits/stl_pair.h:64: error: syntax error before `
__attribute__'
/usr/include/c++/4.2/bits/stl_pair.h:71: error: syntax error before `;' token
/usr/include/c++/4.2/bits/stl_pair.h:73: error: '_T1' is used as a type, but is
not defined as a type.
/usr/include/c++/4.2/bits/stl_pair.h:74: error: '_T2' is used as a type, but is
not defined as a type.
/usr/include/c++/4.2/bits/stl_pair.h: In function `int pair()':
/usr/include/c++/4.2/bits/stl_pair.h:81: error: only constructors take base
initializers
/usr/include/c++/4.2/bits/stl_pair.h:81: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [Libraries/VXLNumerics/wrap_vcl_complex.xml] Error 1
make[1]: *** [Libraries/VXLNumerics/CMakeFiles/VXLNumericsIdx.dir/all] Error 2
make: *** [all] Error 2
Original issue reported on code.google.com by julien.j...@gmail.com on 29 Oct 2009 at 3:08
Original issue reported on code.google.com by
julien.j...@gmail.com
on 29 Oct 2009 at 3:08