[Insight-developers] gccxml and msvc9
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Sun May 17 05:47:40 EDT 2009
Hi Brad,
Is msvc9 usable with gccxml?
I tried to use it yesterday to build wrapitk, but I get the same error
again and again when an itk class is included (it seems to work with
vxl classes).
I'm using ITK and CabelSwig cvs.
The error message is at the end of this mail.
Regards,
Gaëtan
In file included from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/xfwrap1:222,
from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/xfwrap:36,
from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/xrefwrap:44,
from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/functional:874,
from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/xtree:6,
from C:/Program Files/Microsoft Visual Studio 9.0/VC/
include/map:6,
from C:/Documents and Settings/glehmann/My Documents/
src/Insight/Code/Common/itkMetaDataDictionary.h:22,
from C:/Documents and Settings/glehmann/My Documents/
src/Insight/Code/Common/itkObject.h:25,
from C:/Documents and Settings/glehmann/My Documents/
src/Insight/Code/Common/itkCommand.h:20,
from C:/Documents and Settings/glehmann/My Documents/
src/Insight/build2/Wrapping/WrapITK/Modules/Base/wrap_itkVersor.cxx:1:
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:102:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:111:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:121:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:94:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:154:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:146:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:163:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:146:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:173:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:146:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:206:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:198:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:215:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:198:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:225:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:198:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:258:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:250:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:267:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:250:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:277:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*)
(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:250:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:310:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:302:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:319:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:302:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:329:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2, _Farg3,
_Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:302:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4), _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:362:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:354:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:371:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:354:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:381:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:354:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:414:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:406:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:423:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:406:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:433:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1, _Farg2,
_Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:406:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:466:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:458:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&,
_Farg1, _Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:475:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:458:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&,
_Farg1, _Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:485:
error: redefinition of 'struct std::tr1::_Result_of5<_Rx (_Arg0::*
const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&, _Farg1,
_Farg2, _Farg3, _Farg4>'
C:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxresult:458:
error: previous definition of 'struct std::tr1::_Result_of5<_Rx
(_Arg0::* const)(_Arg1, _Arg2, _Arg3, _Arg4)const volatile, _Farg0&,
_Farg1, _Farg2, _Farg3, _Farg4>'
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr http://www.mandriva.org
http://www.itk.org http://www.clavier-dvorak.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090517/1d1e04d8/attachment.pgp>
More information about the Insight-developers
mailing list