[Insight-developers] gccxml and msvc9
Charl Botha
c.p.botha at tudelft.nl
Thu Aug 6 10:40:38 EDT 2009
2009/8/6 Brad King <brad.king at kitware.com>:
> Charl Botha wrote:
>> 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?
>
> We never did AFAIK. Please look at my previous post in this thread
> and send the output I requested.
I ran C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xxresult
through gccxml -E. The output is attached.
Please let me know if I should send any other information!
Thanks for taking a look at this,
Charl
-------------- next part --------------
# 1 "xxresult"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "xxresult"
template<bool,
class _Fty
_C_CLASS_ARG0>
struct _CLASS_NAME(_Result_type);
template<class _Fty
_C_CLASS_ARG0>
struct _CLASS_NAME(_Result_type)<true, _Fty _C_ARG0_ARG1>
{
typedef typename _Fty::result_type _Type;
};
template<class _Fty
_C_CLASS_ARG0>
struct _CLASS_NAME(_Result_type)<false, _Fty _C_ARG0_ARG1>
{
typedef void _Type;
};
template<class _Fty
_C_CLASS_FARG0>
struct _CLASS_NAME(_Result_of)
{
static const bool _Value = _HAS_RESULT_TYPE(_Fty);
typedef typename _CLASS_NAME(_Result_type)<
_CLASS_NAME(_Result_of)<_Fty _C_FARG0_FARG1>::_Value,
_Fty _C_FARG0_FARG1>::_Type _Type;
};
template<class _Ret
_C_CLASS_ARG0
_C_CLASS_FARG0>
struct _CLASS_NAME(_Result_of)<_Ret(&)(_ARG0_ARG1) _C_FARG0_FARG1>
{
typedef _Ret _Type;
};
template<class _Ret
_C_CLASS_ARG0
_C_CLASS_FARG0>
struct _CLASS_NAME(_Result_of)<_Ret(*)(_ARG0_ARG1) _C_FARG0_FARG1>
{
typedef _Ret _Type;
};
template<class _Ret
_C_CLASS_ARG0
_C_CLASS_FARG0>
struct _CLASS_NAME(_Result_of)<_Ret(* const)(_ARG0_ARG1) _C_FARG0_FARG1>
{
typedef _Ret _Type;
};
# 506 "xxresult"
template<class _Fty
_C_CLASS_ARG0>
struct _Result_of<_Fty __attribute__((__cdecl__)) (_ARG0_ARG1)>
{
typedef typename _CLASS_NAME(_Result_of)<_Fty _C_ARG0_ARG1_TO_REF>::_Type _Type;
};
More information about the Insight-developers
mailing list