[omniORB] OmniOrb incompatible with Boost library
David Bertrand
David.Bertrand at amberfin.com
Wed Jun 4 16:13:32 BST 2008
>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 ... ?
That's correct. If you stay away from unicode, issue will never show up.
-David
-----Original Message-----
From: Martin Trappel [mailto:0xCDCDCDCD at gmx.at]
Sent: June 4, 2008 3:11 PM
To: David Bertrand
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] OmniOrb incompatible with Boost library
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
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the omniORB-list
mailing list