P.S. The problem arises with OmniORB 2.8.0 (latest patches) I'm using Solaris 2.7 and compiling using gcc / g++ 2.95.2, though that's probably not significant.