[sane-devel] u_int64_t and OS/2 (Was: New Avisin backend ...)

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 2 Dec 2002 22:36:37 +0100


Hi,

On Mon, Dec 02, 2002 at 09:55:04PM +0100, Rene Rebe wrote:
> Is there still the u_int64_t problem in CVS for OS/2 - or is it
> already worked-around in some way?

As far as I know there is no work-around. Last time we had this issue
(frontend/tstbackend.c) some other systems were also concerned.

The problem isn't the u_int64_t typedef but that some systems just
don't have 64 bit types and some compilers don't emulate them.

We could use "typedef unsigned long int u_int64_t" if u_int64_t is not
defined but this will overflow on 32 bit systems and may result in
hard to track errors.

Do you really need 64 bit ints?

Bye,
  Henning