bug-coreutils
[Top][All Lists]
Advanced

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

bug#13210: [PATCH] maint: cygwin build broken


From: Pádraig Brady
Subject: bug#13210: [PATCH] maint: cygwin build broken
Date: Wed, 19 Dec 2012 10:23:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 12/17/2012 11:20 PM, Pádraig Brady wrote:
On 12/17/2012 11:50 AM, Z. Majeed wrote:
Building latest git source in a non-src directory on cygwin win7 with gcc 4.5.3 
is broken

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)

That's a possible gnulib issue. I'll CC there separately.

It could be avoided in gnulib as detailed here:
http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00087.html

But I think the attached coreutils patch
which just avoids auto enabling all these gcc
warnings on older compilers is more appropriate.

thanks,
Pádraig.

Attachment: gcc-4.5-warnings.diff
Description: Text Data


reply via email to

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