GNU bug report logs -
#13210
[PATCH] maint: cygwin build broken
Previous Next
Reported by: "Z. Majeed" <zmajeed <at> sbcglobal.net>
Date: Mon, 17 Dec 2012 16:56:03 UTC
Severity: normal
Tags: patch
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 13210 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[gcc-4.5-warnings.diff (text/x-patch, attachment)]
This bug report was last modified 12 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.