Re: gnulib *.h files require config,h

2007-07-03 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > The proposal is therefore to make gnulib's replacement headers independent > of config.h, as far as possible: > - Use some @restrict@ instead of using restrict that is defined by config.h, > - For all types defined by AC_TYPE_MODE_T, AC_TYPE_OFF_T, AC

Re: gnulib *.h files require config,h

2007-07-03 Thread Bruno Haible
Simon, > Would this make it possible to install all of gnulib's replacement > header files? In other words, will this lead to them being completely > standalone? It will not make them completely standalone. There are still some flags like _GNU_SOURCE, __EXTENSIONS__, _FILE_OFFSET_BITS, __STDC_LI

Re: gnulib *.h files require config,h

2007-07-03 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > The proposal is therefore to make gnulib's replacement headers independent > of config.h, as far as possible: > - Use some @restrict@ instead of using restrict that is defined by config.h, > - For all types defined by AC_TYPE_MODE_T, AC_TYPE_OFF_T, AC

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