Re: Innocuous warnings

2020-11-17 Thread Paul Eggert
On 11/17/20 9:39 AM, Bruce Korb wrote: timespec.c:2:0: warning: "_GL_TIMESPEC_INLINE" redefined  #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE Looks like config.h includes timespec.h. config.h shouldn't include other files, as a rule, so I'd fix that. I can't reproduce the problem because g

Innocuous warnings

2020-11-17 Thread Bruce Korb
I'm prepping gnu-pw-mgr for a release and decided to scrutinize the build log. 1. timespec.c and timespec.h define _GL_TIMESPEC_INLINE 2. unistd.[ch] do the same thing for _GL_UNISTD_INLINE 3. unlocked-io.h define both {fread,fwrite}_unlocked, but so does /usr/include/bits/stdio.h timespec.