[omniORB] OmniOrb incompatible with Boost library

Duncan Grisby duncan at grisby.org
Mon Jun 9 11:30:47 BST 2008


On Wednesday 4 June, "David Bertrand" wrote:

> 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.

It's a perfectly reasonable thing to do. However, I can't do it for the
main release in omniORB 4.1.x, since it will break binary compatibility
between versions.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list