Re: simplification rewrite of stdint module installed into gnulib

2006-07-04 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > -- Macro: AC_TYPE_LONG_LONG_INT > If the C compiler supports a working `long long int' type, define > `HAVE_LONG_LONG_INT'. > > Requiring at least 64 bits would be a change in semantics. Yes. Whether this is a good thing depends on what one m

Re: [bug-gnulib] Re: simplification rewrite of stdint module installed into gnulib

2006-07-04 Thread Bruno Haible
Paul Eggert wrote: > How about if we remove the mention of instead? On > Solaris 8 states that programs "should not directly > include this file" and I expect Solaris 7 is similar. On Solaris 7, is included by , , , . Since our replacement always include , which always includes , your propos

Re: simplification rewrite of stdint module installed into gnulib

2006-07-04 Thread Bruno Haible
Paul Eggert wrote: > * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60, > but fix a bug, by requiring at least 64 bits. > * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise. > * m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call > AC_TYP

Re: simplification rewrite of stdint module installed into gnulib

2006-07-03 Thread Paul Eggert
OK, thanks, I installed the following into gnulib and coreutils; it should fix both problems you mentioned (Solaris 7 doc, and MacOS). 2006-07-03 Paul Eggert <[EMAIL PROTECTED]> * stdint_.h: Include after @FULL_PATH_STDINT_H@, for MacOS X 10.4.6. Don't mention . Problems

Re: simplification rewrite of stdint module installed into gnulib

2006-07-03 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Paul, Paul Eggert <[EMAIL PROTECTED]> writes: > Thanks for the bug report. How about this patch instead? > It includes @FULL_PATH_STDINT_H@ first, before ; > this should be a bit safer than including @FULL_PATH_STDINT_H@ twice. Your proposed pat

Re: simplification rewrite of stdint module installed into gnulib

2006-07-03 Thread Paul Eggert
Thanks for the bug report. How about this patch instead? It includes @FULL_PATH_STDINT_H@ first, before ; this should be a bit safer than including @FULL_PATH_STDINT_H@ twice. --- old/stdint_.h 2006-07-02 22:49:39.0 -0700 +++ new/stdint_.h 2006-07-03 01:39:23.0 -0700 @

Re: simplification rewrite of stdint module installed into gnulib

2006-07-03 Thread Mark D. Baushke
[I sent a rather large e-mail message which had another variation of this patch. I think this one is better. The other has not yet appeared on the bug-gnulib or bug-cvs mailing lists.] The following patch seems to be needed due to MacOS X 10.4.6 doing a '#include ' from inside of . -- Mar

Re: simplification rewrite of stdint module installed into gnulib

2006-07-02 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert <[EMAIL PROTECTED]> writes: > "Mark D. Baushke" <[EMAIL PROTECTED]> writes: > > >> +#if @HAVE_SYS_INTTYPES_H@ && [EMAIL PROTECTED]@ > >>/* Solaris 7 has the types except the *_fast*_t types, > >> and > >> the macros except for

Re: simplification rewrite of stdint module installed into gnulib

2006-07-02 Thread Paul Eggert
"Mark D. Baushke" <[EMAIL PROTECTED]> writes: >> +#if @HAVE_SYS_INTTYPES_H@ && [EMAIL PROTECTED]@ >>/* Solaris 7 has the types except the *_fast*_t types, >> and >> the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. >> But note that contains only the type def