bug-gnulib
[Top][All Lists]
Advanced

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

inline -Werror=missing-declarations warnings


From: Pádraig Brady
Subject: inline -Werror=missing-declarations warnings
Date: Tue, 18 Dec 2012 01:35:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 12/17/2012 11:50 AM, Z. Majeed wrote:
Building latest [coreutils] git source (=> gnulib d245e6d)...

... I had to configure --disable-gcc-warnings to avoid the following errors
> because gcc 4.5.3 is the latest on cygwin and not covered by the ignore
> warnings pragma in extern-inline.m4 for gcc 4.6 and higher:
   CC       dtotimespec.o
In file included from dtotimespec.c:25:0:
timespec.h:58:1: error: no previous declaration for 'timespec_cmp'
[-Werror=missing-declarations]
  timespec_cmp (struct timespec a, struct timespec b)

Should the check in extern-inline.m4 be expanded to all __GNUC_?
39cedf6f said the issue was only with gcc 4.8, but
GCC 4.5.3 (on cygwin at least), seems to have the issue too.

thanks,
Pádraig.



reply via email to

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