Installing gnulib headers with project

2018-01-03 Thread Charlie Sale
Hello gnulib! Currently, I am working on a project that is a development library that uses gnulib's lists as a core part of the project. I include one of the gnulib headers in one of my own header files that I install. The issue with this is that the gnulib header is not installed along with my

Re: Help needed (MinGW)

2018-01-03 Thread Bruno Haible
Tim Ruehsen wrote: > In the -E output there is > # 593 "./signal.h" 3 > extern int 0 > >; > > Line #593-594 in signal.h is: > _GL_FUNCDECL_SYS (pthread_sigmask, int, > (int how, const sigset_t *new_mask,

Re: -Wundef in *.h [was: [PATCH v2] stat-time: silence -Wunused-parameter regression]

2018-01-03 Thread Paul Eggert
On 01/03/2018 01:29 PM, Eric Blake wrote: But with those additions, I'm okay with your patch; I'll > wait a day or so to see if anyone else chimes in. Looks good to me, too. Thanks.

Re: -Wundef in *.h [was: [PATCH v2] stat-time: silence -Wunused-parameter regression]

2018-01-03 Thread Eric Blake
On 01/03/2018 09:19 AM, Tim Rühsen wrote: >> and since cdefs.h is in that group, feel free to submit a patch to have >> the use of __USE_FORTIFY_LEVEL pacify -Wundef. > > There was a patch attached to email... Ah, I had overlooked it because you top-posted, and I didn't scroll past the quoted co

Re: Help needed (MinGW)

2018-01-03 Thread Tim Ruehsen
Am Mittwoch, den 03.01.2018, 20:33 +0100 schrieb Bruno Haible: > Hi Tim, > > > I currently see during MinGW build: > > > > CC fatal-signal.lo > > In file included from /usr/share/mingw-w64/include/signal.h:10:0, > > from ./signal.h:52, > > from fatal-sign

Re: Help needed (MinGW)

2018-01-03 Thread Bruno Haible
Hi Tim, > I currently see during MinGW build: > > CC fatal-signal.lo > In file included from /usr/share/mingw-w64/include/signal.h:10:0, > from ./signal.h:52, > from fatal-signal.c:26: > ./signal.h:593:1: error: expected identifier or '(' before numeric c

Help needed (MinGW)

2018-01-03 Thread Tim Rühsen
Hi, I currently see during MinGW build: CC fatal-signal.lo In file included from /usr/share/mingw-w64/include/signal.h:10:0, from ./signal.h:52, from fatal-signal.c:26: ./signal.h:593:1: error: expected identifier or '(' before numeric constant _GL_FUNCD

Re: -Wundef in *.h [was: [PATCH v2] stat-time: silence -Wunused-parameter regression]

2018-01-03 Thread Tim Rühsen
On 01/03/2018 04:07 PM, Eric Blake wrote: > On 01/03/2018 04:53 AM, Tim Rühsen wrote: >> ... here is another one in lib/cdef.h occurring with a MinGW build. >> >> >> In file included from ../lib/libc-config.h:149:0, >> from ../lib/glob.h:24, >> from utils.c:35: >>

-Wundef in *.h [was: [PATCH v2] stat-time: silence -Wunused-parameter regression]

2018-01-03 Thread Eric Blake
On 01/03/2018 04:53 AM, Tim Rühsen wrote: > ... here is another one in lib/cdef.h occurring with a MinGW build. > > > In file included from ../lib/libc-config.h:149:0, > from ../lib/glob.h:24, > from utils.c:35: > ../lib/cdefs.h:298:6: warning: "__USE_FORTIFY_LE

Re: [PATCH v2] stat-time: silence -Wunused-parameter regression

2018-01-03 Thread Tim Rühsen
... here is another one in lib/cdef.h occurring with a MinGW build. In file included from ../lib/libc-config.h:149:0, from ../lib/glob.h:24, from utils.c:35: ../lib/cdefs.h:298:6: warning: "__USE_FORTIFY_LEVEL" is not defined, evaluates to 0 [-Wundef] # if __US