bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Innocuous warnings


From: Bruce Korb
Subject: Innocuous warnings
Date: Tue, 17 Nov 2020 09:39:29 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

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.c:2:0: warning: "_GL_TIMESPEC_INLINE" redefined
 #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
 
In file included from ../config.h:1478:0,
                 from timespec.c:1:
./timespec.h:29:0: note: this is the location of the previous definition
 # define _GL_TIMESPEC_INLINE _GL_INLINE
 
...

unistd.c:2:0: warning: "_GL_UNISTD_INLINE" redefined
 #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE
 
In file included from ../config.h:1473:0,
                 from unistd.c:1:
./unistd.h:664:0: note: this is the location of the previous definition
 # define _GL_UNISTD_INLINE _GL_INLINE

......

In file included from libopts.c:21:0:
unlocked-io.h:110:0: warning: "fread_unlocked" redefined
 #  define fread_unlocked(_w,_x,_y,_z) fread (_w,_x,_y,_z)
 
In file included from /usr/include/stdio.h:859:0,
                 from ../lib/stdio.h:43,
                 from ../config.h:1467,
                 from libopts.c:2:
/usr/include/bits/stdio.h:144:0: note: this is the location of the previous definition
 # define fread_unlocked(ptr, size, n, stream) \
 
In file included from libopts.c:21:0:
unlocked-io.h:117:0: warning: "fwrite_unlocked" redefined
 #  define fwrite_unlocked(_w,_x,_y,_z) fwrite (_w,_x,_y,_z)
 
In file included from /usr/include/stdio.h:859:0,
                 from ../lib/stdio.h:43,
                 from ../config.h:1467,
                 from libopts.c:2:
/usr/include/bits/stdio.h:168:0: note: this is the location of the previous definition
 # define fwrite_unlocked(ptr, size, n, stream) \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]