Discussion:
[omniORB] OmniORB 4.1.4 and 4.1.6 compile errors with clang / llvm-gcc on Mac OS X 10.7 (Lion)
Christoph Deil
2012-01-22 23:52:54 UTC
Permalink
Dear OmniORB developers,

compiling OmniORB 4.1.4 fails with clang on Mac OS X 10.7 (Lion), but does work with llvm-gcc.
Compiling OmniORB 4.1.6 fails with both clang and llvm-gcc.

I tried installing via Macports, compiler error messages and further details are here:
https://trac.macports.org/ticket/32062

Lion is mentioned once in the omniorb-list archives, concerning a crash when running omniNames:
http://www.omniorb-support.com/pipermail/omniorb-list/2011-August/031024.html
It is not mentioned which compiler was used to build OmniORB.

Let me know if you need full build logs to figure out the problem.

Thanks!
Christoph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120122/138ff96d/attachment.htm
Duncan Grisby
2012-02-13 17:22:37 UTC
Permalink
Post by Christoph Deil
compiling OmniORB 4.1.4 fails with clang on Mac OS X 10.7 (Lion), but
does work with llvm-gcc.
It's a limitation of the clang compiler front-end. The attached patch
provides a work-around.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120213/71e66e33/clang.bin
Loading...