[omniORB] OmniOrb incompatible with Boost library
Martin Trappel
0xCDCDCDCD at gmx.at
Wed Jun 4 22:10:36 BST 2008
David Bertrand wrote:
> Hi,
>
> _Background_
> MSVC7 libraries compiled with -Zc:wchar_t switch (Treat wchar_t as
Built-in Type) are incompatible with the ones compiled without. This
basically changes the compiler interpretation of wchar_t from unsigned
short to a native wchar_t. Everything go fine until you link to unicode
functions. Since it's a global compile setting, your application cannot
mix and match libraries compiled with different setting : it will give
you link errors.
>
> Boost v1.35 library uses the -Zc:wchar_t switch, and OmniOrb do not
use it. Since MSVC8 activates the -Zc:wchar_t switch by default, I feel
it confirms Boost is right. For testing purposes, I added the switch to
current release.
>
> (...)
>
> My version compiled with this change linked and ran fine.
> Feel free to comment.
>
Am I right to say that as long as one does not use Unicode together with
CORBA one does not has to care as all omniORB interfaces will be with
char anyway ... ?
-Martin
More information about the omniORB-list
mailing list