Howdy,

When I try to compile tar 1.19 on QNX 6, it fails with the following
error message:

 source='getdate.c' object='getdate.o' libtool=no \
 DEPDIR=.deps depmode=gcc /bin/sh ../build-aux/depcomp \
 gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c -o getdate.o getdate.c
 getdate.y:118: negative width in bit-field
 `verify_error_if_negative_size__'

The line in question is

 verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= 
LONG_MAX);

, which is still present in the latest Gnulib sources.  time_t is
equivalent to an unsigned long, which causes both of the comparisons
to fail.

-- 
Matt


Reply via email to