[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT
From: |
Bruno Haible |
Subject: |
[Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT |
Date: |
Tue, 23 Oct 2007 00:35:54 +0200 |
User-agent: |
KMail/1.5.4 |
Paul Eggert wrote:
> > * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
> > -1u, in preprocessor expression.
>
> Thanks for checking that. I installed that fix into gnulib, and a
> similar patch into autoconf.
Thanks. Now, since this is already the second time that we are on the
borderline to a situation where intmax_t and uintmax_t don't fit together,
I'm adding a check against it to stdint.in.h. I wasn't pleased to see that
the entire gettext package was compiled with these weird settings and the
problem was only revealed by the 'fprintf-posix' test.
2007-10-22 Bruno Haible <address@hidden>
* lib/stdint.in.h: Add check that intmax_t and uintmax_t have the same
size.
*** lib/stdint.in.h.orig 2007-10-23 00:07:37.000000000 +0200
--- lib/stdint.in.h 2007-10-23 00:06:59.000000000 +0200
***************
*** 247,252 ****
--- 247,257 ----
# define uintmax_t unsigned long int
#endif
+ /* Verify that intmax_t and uintmax_t have the same size. Too much code
+ breaks if this is not the case. If this check fails, the reason is likely
+ to be found in the autoconf macros. */
+ typedef int _verify_intmax_size[2 * (sizeof (intmax_t) == sizeof (uintmax_t))
- 1];
+
/* 7.18.2. Limits of specified-width integer types */
#if ! defined __cplusplus || defined __STDC_LIMIT_MACROS
- [Bug-tar] GNU tar 1.19 on HP-UX, H.Merijn Brand, 2007/10/12
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, Paul Eggert, 2007/10/12
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, H.Merijn Brand, 2007/10/13
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, Paul Eggert, 2007/10/16
- AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT (was: Re: [Bug-tar] GNU tar 1.19 on HP-UX), Bruno Haible, 2007/10/21
- Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT (was: Re: [Bug-tar] GNU tar 1.19 on HP-UX), H.Merijn Brand, 2007/10/21
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Paul Eggert, 2007/10/22
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Bruno Haible, 2007/10/22
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Paul Eggert, 2007/10/22
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT,
Bruno Haible <=
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Bruno Haible, 2007/10/23
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Paul Eggert, 2007/10/24
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Bruno Haible, 2007/10/24
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Bruno Haible, 2007/10/26
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Paul Eggert, 2007/10/30
- [Bug-tar] Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT, Bruno Haible, 2007/10/31
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, Paul Eggert, 2007/10/16
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, H.Merijn Brand, 2007/10/17
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, Benoit SIGOURE, 2007/10/18
- Re: [Bug-tar] GNU tar 1.19 on HP-UX, H.Merijn Brand, 2007/10/17