[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questio
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions) |
Date: |
Tue, 26 Oct 2004 00:24:38 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Paul Eggert wrote:
>> "configure" could put its stdint.h additions into config.h as
>> macros. ... This approach is simpler and I think more reliable
>
> Indeed this is much more robust, but to get everything defined for
> emulating a full stdint.h, you often not only have to #include the system's
> <stdint.h>, but also <stddef.h>, <limits.h>, <sys/inttypes.h> or <inttypes.h>.
>
> The config.h would then have to include system header files. That's a thing
> that I absolutely try to avoid,
I think I agree with that goal, however some comments:
> because
> 1) on AIX 3, no other system include files are allowed before our
> <alloca.h>,
config.h could include alloca.h too, and do it first.
> 2) with GCC up to ca. 3.0, you get an error if you make a global register
> declaration after having #included some system header files which happen
> to define inline functions. (Global register declarations are used by
> GNU clisp.)
Can't that simply be considered a GCC bug, then?
Still, this does not solve the uint32_t-in-installed-headers problem.
Thanks.
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), (continued)
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/24
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Paul Eggert, 2004/10/24
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Paul Eggert, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/25
- Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Paul Eggert, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/25
- Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Paul Eggert, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/26
- Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Bruno Haible, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions),
Simon Josefsson <=
- Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Bruno Haible, 2004/10/25
- [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Simon Josefsson, 2004/10/25
- Re: [Bug-gnulib] Re: gnulib module for uintmax_t? (and best practice questions), Bruno Haible, 2004/10/26