[GCC-XML] problem about include <list>
Zeb
zebbey at gmail.com
Mon Apr 18 10:35:53 EDT 2011
hi,
I'm new to gccxml. And I have tried to use gccxml to parse a tiny
header file, but it failed.
// a.h
#ifndef __H_A__
#define __H_A__
#include <list>
#endif
The error info is like this:
D:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxmem_fn:235: error: red
efinition of 'template<class _Rx, class _Arg0, class _Arg1, class _Arg2, class _
Arg3, class _Arg4, class _Arg5, class _Arg6, class _Arg7, class _Arg8, class _Ar
g9> std::tr1::_Mem_fn10<_Rx, _Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4, _Arg5, _
Arg6, _Arg7, _Arg8, _Arg9)const volatile, const volatile _Arg0, _Arg1, _Arg2, _A
rg3, _Arg4, _Arg5, _Arg6, _Arg7, _Arg8, _Arg9> std::tr1::mem_fn(_Rx (_Arg0::*)(_
Arg1, _Arg2, _Arg3, _Arg4, _Arg5, _Arg6, _Arg7, _Arg8, _Arg9)const volatile)'
D:/Program Files/Microsoft Visual Studio 9.0/VC/include/xxmem_fn:203: error: 'te
mplate<class _Rx, class _Arg0, class _Arg1, class _Arg2, class _Arg3, class _Arg
4, class _Arg5, class _Arg6, class _Arg7, class _Arg8, class _Arg9> std::tr1::_M
em_fn10<_Rx, _Rx (_Arg0::*)(_Arg1, _Arg2, _Arg3, _Arg4, _Arg5, _Arg6, _Arg7, _Ar
g8, _Arg9)const volatile, const volatile _Arg0, _Arg1, _Arg2, _Arg3, _Arg4, _Arg
5, _Arg6, _Arg7, _Arg8, _Arg9> std::tr1::mem_fn(_Rx (_Arg0::*)(_Arg1, _Arg2, _Ar
g3, _Arg4, _Arg5, _Arg6, _Arg7, _Arg8, _Arg9)const volatile)' previously declare
d here
the command is:
gccxml --gccxml-compiler msvc9 e:\a.h -fxml=e:a.xml
Please help, what's wrong with std::list?
THANK YOU.
More information about the gccxml
mailing list