[Insight-developers] gccxml and msvc9

Brad King brad.king at kitware.com
Mon May 18 10:23:56 EDT 2009


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 ...'?

Thanks,
-Brad


More information about the Insight-developers mailing list