[omniORB] omniORB, solaris10x86 and CORBA::LongDouble

Roloff, Craig A craig.a.roloff at boeing.com
Tue Apr 4 07:52:33 BST 2006


On April 3, Duncan Grisby wrote:

> On Wednesday 29 March, "Roloff, Craig A" wrote:
> 
> > I get the same error on HP-UX 11.
> > 
> > Could this be because the omnipython on Sourceforge was build
> > on an HP-UX machine that didn't support long doubles?
> 
> No -- Python isn't the thing that needs to support long double. As
long
> as the C++ compiler supports it, omniidl is given a flag to say it's
> supported, and it should work ok.
> 
> Are you using the configure script or the old-style build with
platform
> files?  Ideally you should be using configure. What does the configure
> script report?  When you run make, quite early on it runs omniidl to
> compile corbaidl.idl. What does the make line there say?  It should
say
> something like this:
> 
> ../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB -Wbdebug
-v -nf -P -WbF -ComniORB4 ../../../../idl/corbaidl.idl
> omniidl: Importing back-end 'cxx'
> omniidl: 'cxx' imported from
'../../../../src/lib/omniORB/omniidl_be/cxx/__init__.pyc'
> omniidl: Preprocessing '../../../../idl/corbaidl.idl' with
'/home/duncan/omni/cvs/40/build/lib/omnicpp -lang-c++ -undef
-D__OMNIIDL__=0x2420 -DHAS_LongLong -DHAS_LongDouble -D__OMNIIDL_CXX__
"../../../../idl/corbaidl.idl"'
> omniidl: Running front end
> omniidl: Running back-end 'cxx'
> 
> 
> Notice that pre-processor line has -DHAS_LongLong -DHAS_LongDouble in
> it. Do you get that in your compile?

We use the configure script.  It shows:

checking for long double... yes
checking size of long double... 16

Yet the preprocessor shows:

../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB -Wbdebug
-v -nf -P -WbF -ComniORB4 ../../../../idl/corbaidl.idl
omniidl: Importing back-end 'cxx'
omniidl: 'cxx' imported from
'../../../../src/lib/omniORB/omniidl_be/cxx/__init__.pyc'
omniidl: Preprocessing '../../../../idl/corbaidl.idl' with
'/project/aero/swdev/perf/omni407/hp11i/lib/omnicpp -lang-c++ -undef
-D__OMNIIDL__=0x2420 -DHAS_LongLong -D__OMNIIDL_CXX__
"../../../../idl/corbaidl.idl"'

We've tried to trace this problem before without any luck.  Can you
suggest where to look?

Thanks,
Craig




More information about the omniORB-list mailing list