Hi,
I use mipsel-uclibc-gcc cross compiler to compile the gSOAP source code. When mipsel-uclibc-gcc compiles my source code, it shows me some errors about 'wchar_t', such as:
--------------------------
----------
----------
-----
../../stdsoap2.h:1407: parse error before "wchar_t"
../../stdsoap2.h:1407: warning: no semicolon at end of struct or union
../../stdsoap2.h:1422: parse error before '}' token
../../stdsoap2.h:1453: parse error before "wchar_t"
../../stdsoap2.h:1453: warning: no semicolon at end of struct or union
../../stdsoap2.h:1480: parse error before '}' token
../../stdsoap2.h:2027: warning: type defaults to `int' in declaration of `wchar_t'
../../stdsoap2.h:2027: parse error before '*' token
../../stdsoap2.h:2028: parse error before '*' token
../../stdsoap2.h:2028: warning: type defaults to `int' in declaration of `soap_wstring_in'
../../stdsoap2.h:2028: warning: data definition has no type or storage class
../../stdsoap2.h:2099: parse error before "wchar_t"
../../stdsoap2.h:2120: warning: type defaults to `int' in declaration of `wchar_t'
../../stdsoap2.h:2120: parse error before '*' token
../../stdsoap2.h:2148: parse error before '*' token
../../stdsoap2.h:2148: parse error before "wchar_t"
../../stdsoap2.h:2148: warning: type defaults to `int' in declaration of `soap_inwstring'
../../stdsoap2.h:2148: warning: data definition has no type or storage class
../../stdsoap2.h:2149: parse error before '*' token
../../stdsoap2.h:2149: parse error before "wchar_t"
../../stdsoap2.h:2149: warning: type defaults to `int' in declaration of `soap_inwliteral'
../../stdsoap2.h:2149: warning: data definition has no type or storage class
../../stdsoap2.h:2172: parse error before "wchar_t"
../../stdsoap2.h:2173: parse error before "wchar_t"
make: *** [logging.o] Error 1
--------------------------
----------
----------
-----
I think that mipsel-uclibc-gcc compiler doesn't support wchar type.
What should I do? Thank you.
Start Free Trial