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

Henning Meier-Geinitz henning at meier-geinitz.de
Mon Dec 2 21:36:37 GMT 2002


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



More information about the sane-devel mailing list