Re: __attribute__ and timeval problems building findutils on IRIX

2016-03-01 Thread Paul Eggert
Eric Blake wrote: Rather, we should be fixing gnulib's replacement header to be self-contained. How is HAVE_STRUCT_TIMEVAL defined in that build? If it's defined, why did the configure-time test for 'struct timeval' work even though test-gettimeofday.c does not work? If it's not defined, w

Re: __attribute__ and timeval problems building findutils on IRIX

2016-03-01 Thread Eric Blake
adding gnulib On 03/01/2016 04:08 PM, Rainer M. Canavan wrote: Thanks for the report. I'm focusing on just the gnulib bug: > A few tests cannot be compiled because struct timeval isn't > know. Shifting around the include statements or adding > time.h fixes these. > > > rainer > > diff -ur

__attribute__ and timeval problems building findutils on IRIX

2016-03-01 Thread Rainer M. Canavan
Hi, I've stumbled over two small problems while trying to build findutils on IRIX with the mipspro compilers. The first problem was that the compiler doesn't support __attribute__, which is correctly detected by configure: checking for __attribute__ ((__noreturn__)) support... no which results i