Re: [hatari-devel] Compile error, zip.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Tue, 5 Jun 2012 21:29:36 +0200
schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:

> Hi,
> 
> > Line 122 looks like this:
> > extern int ZEXPORT unzStringFileNameCompare OF ((const char*
> > fileName1, const char*
> > fileName2, int iCaseSensitivity));
> > 
> > What happens if you comment it out?
> 
> Then it works, but other lines fail with the same problem.
>  
> > If you for some wierd reason have some Windows or BeOS defines
> > enabled in your build, ZEXPORT will probably be bogus.
> 
> Except for a newer zlib nothing on my machine changed that could
> influence the build, as far as I can tell. The update from zlib 1.2.5
> to 1.2.5.1 may have caused this problem. If this is the reason I
> would expect the build to fail on other Linux machines as well,
> sooner or later.

Are you using Gentoo? Looking at the following URL:

https://bugs.gentoo.org/show_bug.cgi?id=383179

.... this looks like a breakage in Gentoo's zlib to me.

Anyway, we should consider removing these silly OF macro from our
unzip.h header, since nobody is ever going to compile Hatari with a non
ANSI-C compiler, right? Or can anybody see a good reason to keep the OF
macros there?

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/