[omniORB] long long on SGI MIPSPro compilers

Duncan Grisby dgrisby@uk.research.att.com
Tue, 22 May 2001 11:23:47 +0100


On Friday 18 May, henning.schmidt@philips.com wrote:

> However the file CORBA_sysdep.h that comes with omniORB does not
> define the HAS_LongLong for this compiler.  Thus I did the following
> modifications in that file (around line # 360)

[...]
> Now I want to check with you if that is the right way to do it.
> Whatever is the right way, you might also consider putting that into
> your release branch for the future.

That's almost what you need. You also need to define the
_CORBA_LONGLONG_CONST macro. The following will probably work:

#define _CORBA_LONGLONG_CONST(x) (x##LL)

Please try adding that to the SGI #ifdef in CORBA_sysdep.h, and
recompiling the whole omniORB tree. If that works, I'll check in the
additions.

Thanks for the contribution,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --