Re: inttypes.h error for Bison

2007-07-02 Thread Joel E. Denny
On Tue, 3 Jul 2007, Bruno Haible wrote: > It will not cause trouble, but it will not fix the problem either, in general: > On a platform where is POSIX compliant and is not, > this patch will have no effect, and will still try to use > INT32_MAX etc. which are not defined. > > I'm applying thi

gnulib *.h files require config,h

2007-07-02 Thread Bruno Haible
Hi, Compiling tar-1.18 on IRIX 6.5 with gcc 2.95.2 (or "cc") leads to this error during "make check": make[2]: Entering directory `/build/tar-1.18/tests' ... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I../src -DLOCALEDIR=\"/opt/share/locale\" -I/opt/include -g -O2 -c argcv.c In file in

Re: inttypes.h error for Bison

2007-07-02 Thread Bruno Haible
Joel E. Denny wrote: > --- gnulib/lib/stdint_.h 21 Jun 2007 04:39:10 - 1.43 > +++ gnulib/lib/stdint_.h 2 Jul 2007 04:22:09 - > @@ -43,6 +43,9 @@ > in would reinclude us, skipping our contents because > _GL_STDINT_H is defined. > The include_next requires a

Re: inttypes.h error for Bison

2007-07-02 Thread Joel E. Denny
On Mon, 2 Jul 2007, Bruno Haible wrote: > But even with your patch, and even with the addition of this code to > config.h, Joel's test case still fails. Sorry if I'm beating a dead horse, but the patch I had in mind does work for me. I put __STDC_LIMIT_MACROS in the stdint.h wrapper: Index: gn

Re: gplv3 fixes

2007-07-02 Thread Simon Josefsson
Simon Josefsson <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >> This seemed obvious, so I installed it. > > I forgot this part: And this part, for lgpl. /Simon ? modules/lgpl-2.1 Index: ChangeLog ===

Re: gplv3 fixes

2007-07-02 Thread Simon Josefsson
Simon Josefsson <[EMAIL PROTECTED]> writes: > This seemed obvious, so I installed it. I forgot this part: Index: ChangeLog === RCS file: /sources/gnulib/gnulib/ChangeLog,v retrieving revision 1.1794 diff -u -p -r1.1794 ChangeLog ---

gplv3 fixes

2007-07-02 Thread Simon Josefsson
This seemed obvious, so I installed it. /Simon Index: ChangeLog === RCS file: /sources/gnulib/gnulib/ChangeLog,v retrieving revision 1.1793 diff -u -p -r1.1793 ChangeLog --- ChangeLog 2 Jul 2007 08:19:55 - 1.1793 +++ Chan

Re: inttypes.h error for Bison

2007-07-02 Thread Bruno Haible
Paul Eggert wrote: > 2007-07-02 Paul Eggert <[EMAIL PROTECTED]> > > * lib/inttypes_.h [defined __cplusplus&&!defined __STDC_LIMIT_MACROS]: > #define __STDC_LIMIT_MACROS temporarily while including > , so that __STDC_LIMIT_MACROS is defined. > Problem reported by Joel E. D

Re: inttypes.h error for Bison

2007-07-02 Thread Paul Eggert
"Joel E. Denny" <[EMAIL PROTECTED]> writes: > Thanks. Could Gnulib's lib/stdint_.h define __STDC_LIMIT_MACROS for C++? That sounds like the simplest workaround, for now anyway. I installed this into gnulib. I can think of more complicated but namespace-clean fixes but I'm not sure they're wort