bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] x86/Solaris test failure (25, 28)


From: Joerg Schilling
Subject: Re: [Bug-tar] x86/Solaris test failure (25, 28)
Date: Wed, 07 Mar 2007 23:15:56 +0100
User-agent: nail 11.22 3/20/05

Matthew Woehlke <address@hidden> wrote:

> First, a build failure: I had to change src/xheader.c:1097:
>
> -  const struct timespec mtime = data ? *(struct timespec *) data : 
> st->mtime;
> +  const struct timespec mtime = data ? *(const struct timespec *) data 
> : st->mtime;
>
> (seems like a pedantic compiler thing, but...)

Not a pedantic compiler buit a compiler that honors "const".
Unfortunately, GCC mostly ignores const.

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]