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.