[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Problem with GNU Tar (make process)
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] Problem with GNU Tar (make process) |
Date: |
Thu, 29 Mar 2007 14:43:52 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
address@hidden (Joerg Schilling) writes:
> "Anand Rao" <address@hidden> wrote:
>> "xheader.c", line 1097: operands have incompatible types:
>> struct timespec {long tv_sec, long tv_nsec} ":" const struct
>> timespec {long tv_sec, long tv_nsec}
>
> This happens when development is done only with GCC.
No, it happens when people use buggy compilers. The code was correct
and conforms to the C standard, but Forte Developer C 5.4 incorrectly
complains about it.
The following patch works around the problem and will appear in the
next GNU tar version.
http://cvs.savannah.gnu.org/viewcvs/tar/src/xheader.c?root=tar&r1=1.49&r2=1.50