TKD
asked on
Disable wchar type in gSOAP
Hi,
I use cross-compiler mipsel-uclibc-gcc to compile gSOAP source code. But the mipsel-uclibc-gcc doesn't support wide character complete, I get an error message about wide character by compiling with cross-compiler mipsel-uclibc-gcc. See this discuss [https://www.experts-exchange.com/questions/23575719/mipsel-uclibc-gcc-compiles-gSOAP-project-without-finding-MB-CUR-MAX.html?cid=239&anchorAnswerId=22033657#a22033657]
So I would like to disable wchar type in gSOAP source code. What should I do?
Thank you.
I use cross-compiler mipsel-uclibc-gcc to compile gSOAP source code. But the mipsel-uclibc-gcc doesn't support wide character complete, I get an error message about wide character by compiling with cross-compiler mipsel-uclibc-gcc. See this discuss [https://www.experts-exchange.com/questions/23575719/mipsel-uclibc-gcc-compiles-gSOAP-project-without-finding-MB-CUR-MAX.html?cid=239&anchorAnswerId=22033657#a22033657]
So I would like to disable wchar type in gSOAP source code. What should I do?
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please post the answer as a separate post here, and select that as the post to be accepted. That way, people who look at this question in the future will be able to see the answer too :)
ASKER
I write the question to the author Robert of gSOAP.
He answer my problem:
=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-
It might be best to contact the authors of gSoap - they would know :)
I suggest to undefine these in stdsoap2.h:
#undef HAVE_WCTOMB
#undef HAVE_MBTOWC
(or remove the #defines in stdsoap2.h and config.h)
When they're not set, it should compile.
- Robert
=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-=-=-=-=- =-
He answer my problem:
=-=-=-=-=-=-=-=-=-=-=-=-=-
It might be best to contact the authors of gSoap - they would know :)
I suggest to undefine these in stdsoap2.h:
#undef HAVE_WCTOMB
#undef HAVE_MBTOWC
(or remove the #defines in stdsoap2.h and config.h)
When they're not set, it should compile.
- Robert
=-=-=-=-=-=-=-=-=-=-=-=-=-
http://sourceforge.net/projects/gsoap2/
If nothing turns up, you might have to resort to what evilrix suggested here :
https://www.experts-exchange.com/questions/23568940/mipsel-uclibc-gcc-compiles-gSOAP-project.html