[omniORB] OmniORB4, compiling on HP-UX 11 using gcc 3.2

Harri Pasanen harri.pasanen@trema.com
Wed Sep 25 10:24:00 2002


By applying one patch to gcc 3.2, and patching a bit the acconfig.h produced 
by configure*, the first indications are that  OmniORB4 can be made to work 
on HP-UX 11.x

During compilation I do see bunch of warnings, and the following in particular 
caught my eye:

 ../../../../../src/lib/omniORB/orbcore/giopEndpoint.cc
../../../../../src/lib/omniORB/orbcore/giopEndpoint.cc: In member function 
   `virtual void omni::omni_giopEndpoint_initialiser::attach()':
../../../../../src/lib/omniORB/orbcore/giopEndpoint.cc:391: warning: sorry: 
   semantics of inline function static data `Boolean once' are wrong (you'll 
   wind up with multiple copies)
../../../../../src/lib/omniORB/orbcore/giopEndpoint.cc:391: warning:   you can 
   work around this by removing the initializer

Should the inline perhaps be removed?


-Harri


*The configure does not detect correctly the presence of sigaction(), sigvec() 
on HP-UX 11, that's why the result needs some patching.

If you want the dirty details, send me mail.