[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] addition: linebreak.h, linebreak.c

From: Paul Eggert
Subject: Re: [Bug-gnulib] addition: linebreak.h, linebreak.c
Date: Tue, 8 Apr 2003 17:39:38 -0700 (PDT)

> Date: Tue, 8 Apr 2003 22:40:10 +0200 (CEST)
> From: Bruno Haible <address@hidden>

> gettext already uses a type 'nls_uint32' for 32-bit integers where it
> matters (namely writing to a file), and this #ifdef was too hairy for
> MIPS in n32 and/or 64-bit mode...

In the long run it'll be safe to use the C99 types for this.  In the
medium term I think we can safely assume a standard way of
approximating the types will evolve, which will work on all pre-C99
hosts of interest.  However, I agree that assuming this right now may
be more portability trouble than it's worth.

> Does Cray provides an <inttypes.h> or <stdint.h> with this contents,
> or do C programmers have to do this typedef by themselves?

I'm afraid that Cray C doesn't yet provide those headers yet.  It does
provide C89 macros like USHRT_MAX, though, so one can do the typedefs
using C preprocessor macros rather than via Autoconf.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]