Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-12 Thread Mike Miller
On Sat, Aug 10, 2013 at 22:05:39 -0700, Paul Eggert wrote: > No, I think Gnulib is being too picky here. I installed the > following patch, which I hope fixes the problems you mentioned. Yes, all the gettimeofday and sys/time.h tests pass now, thanks! -- mike

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-11 Thread Mike Miller
On Fri, Aug 09, 2013 at 23:18:07 -0700, Paul Eggert wrote: > Hmm, OK, how about the following patch instead? Ok, some good progress. This fixes the "gettimeofday has not been declared" error and the "invalid conversion" errors with timeval, both with and without gnulib sys/select.h. I think that's

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-10 Thread Paul Eggert
On 08/10/2013 09:44 PM, Mike Miller wrote: > So is this as close as we can get with gnulib until OpenBSD addresses > this? No, I think Gnulib is being too picky here. I installed the following patch, which I hope fixes the problems you mentioned. >From 8a087194f758bfd49bc31a247865d66cdcd6b2dd Mo

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Paul Eggert
On 08/09/2013 04:13 PM, Mike Miller wrote: > I get pretty much the same errors if I don't include the select > gnulib module, and pull in only gettimeofday. Hmm, OK, how about the following patch instead? diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index 09c9601..90dd02b 100644 --- a/lib/s

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Mike Miller
On Fri, Aug 09, 2013 at 01:46:27PM -0700, Paul Eggert wrote: > Thanks, does the following patch fix things for you? > If so, I'll install it into gnulib. No, same exact set of errors. Your patch only touches sys/select.h. In fact, I get pretty much the same errors if I don't include the select gnu

Re: OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Paul Eggert
Thanks, does the following patch fix things for you? If so, I'll install it into gnulib. diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h index 28a3dac..061ebaf 100644 --- a/lib/sys_select.in.h +++ b/lib/sys_select.in.h @@ -19,14 +19,16 @@ # endif @PRAGMA_COLUMNS@ -/* On OSF/1 and Solari

OpenBSD: gettimeofday and sys/time.h errors

2013-08-09 Thread Mike Miller
Hi, continuing on the OpenBSD theme, I am seeing a couple of compilation failures with sys/time.h, gettimeofday, and timeval very similar to one reported recently for cygwin [1] (coincidentally I am also investigating on behalf of Octave). In a barebones project using gnulib-tool --with-tests --wi