AW: AW: [omniORB] Problem compiling with wstrings on Windows..

Barthel Marco (MPA/DS) Marco.Barthel at comergo.com
Mon Dec 13 15:47:00 GMT 2004


> > 
> > In Omniorb wstring is mapped to an array of unsigned short.
> 
> No it isn't. By default, it's mapped to whar_t. As an option, 
> it can be mapped to array of unsigned short.

For some magic reason it seems to be mapped to unsigned short when we do
build omniorb4 with a cygwin environment and the C++ Compiler from VC
7.1. We used the source code out of the box - just setting the python
path and the platform.

Then the symbol
"__declspec(dllimport) public: static wchar_t const * const
_CORBA_WString_helper::empty_wstring"
(__imp_?empty_wstring at _CORBA_WString_helper@@2QB_WB)

 is not part of the dll/lib (because unsigned short is used instead of
wchar_t)

That's what we experienced.

-marco



More information about the omniORB-list mailing list