[Insight-developers] gccxml and msvc9

Charl Botha c.p.botha at tudelft.nl
Thu Aug 6 10:15:45 EDT 2009


Dear Gaëtan and Brad,

I'm seeing exactly the error you (Gaëtan) ran into in May of this
year, with ITK 3.14, CableSwig ITK-3-14, Visual Studio 2008 SP1,
Windows XP SP3, Python 2.6.2, WrapITK 0.3.0.  I did NOT run into this
problem on Win64.

How did you manage to fix it?

Thanks for *any* advice,
Charl

2009/5/21 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>
> Le 18 mai 09 à 16:23, Brad King a écrit :
>
>> Gaëtan Lehmann wrote:
>>>
>>> Is msvc9 usable with gccxml?
>>
>> Yes.  However, it is impossible to test all possible instantiations of
>> all the templates in the standard headers.  I'm not surprised a new
>> case has been hit.  We will probably need to update gccxml's patch for
>> msvc9 headers.
>>
>>> 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>'
>>
>> Can you please send me the preprocessor output for this file as produced
>> by 'gccxml -E ...'?
>
>
> Well, I'd like too, but the terminal is absolutely unusable (at least by
> default) on windows. I can't copy/paste the command without crashing the
> terminal.
> And I can't call a simple .bat file where I've put the command line - it
> seems to not see it.
>
> I'm afraid I've nothing of a windows developer…


More information about the Insight-developers mailing list