[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getdate.y fails to compile on QNX 6
From: |
Matt Kraai |
Subject: |
getdate.y fails to compile on QNX 6 |
Date: |
Fri, 11 Jan 2008 16:09:29 -0800 |
User-agent: |
Mutt/1.5.17 (2007-12-11) |
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
- getdate.y fails to compile on QNX 6,
Matt Kraai <=