bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice que


From: Paul Eggert
Subject: Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions)
Date: Mon, 25 Oct 2004 17:01:23 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> I used to do this.  But people complained that on 64-bit platforms,
> 'unsigned int' is not the same width as uint32_t

On the vast majority of 64-bit platforms it is the same width.
Which platforms were they talking about?

> The uint32_t is needed in the headers, so the above fragment wouldn't
> work directly, since config.h can't be assumed.

I'm a bit lost I guess, since I thought your headers included a header
generated by "configure", and that header could use the equivalent of
the fragment I quoted without mentioning config.h, since it can
obtain the value of HAVE_STDINT_H directly.

I agree with Bruno that config.h should not include any system headers.
Emacs does (or used to do) that, and it's been a big pain in practice.




reply via email to

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