[omniORB] Building V3.01 on Digital Unix

Bhatia, Neeraj Neeraj.Bhatia@compaq.com
Fri, 22 Sep 2000 14:23:28 -0400


Thanks Duncan,

Digital Unix implementation of strtoul returns long, which is 8 bytes long.

For now, I changed the function name from strtoull to strtoul. 

I am facing lot of build problems related to Python's usage in omniidl. 

Python related question:
How do I define PYTHONHOME env variable?

Regards.

Neeraj
-----Original Message-----
From: Duncan Grisby [mailto:dgrisby@uk.research.att.com]
Sent: Friday, September 22, 2000 5:18 AM
To: Bhatia, Neeraj
Cc: Omniorb-List (E-mail)
Subject: Re: [omniORB] Building V3.01 on Digital Unix 

On Thursday 21 September, "Bhatia, Neeraj" wrote:

> I get an error while building omniORB V3.01 on Digital Unix.
[...]

> cxx: Error: idlutil.cc, line 151: identifier "strtoull" is undefined
>   return strtoull(text, 0, base);

strtoull is used by several unixes as the 64 bit equivalent of
strtoul. It isn't a Posix standard, though, so it's no great surprise
that Digital Unix doesn't have it. You need to find out what function
Digital Unix has to do the same thing, and add a new #if case to
idlutil.cc. Given the Alpha's 64 bitness, it's possible that strtoul
is 64 bit.

Let me know what function should be used, and I'll add it.

Cheers,

Duncan.

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