Selon Jean-Claude Repetto <[email protected]>:

> Hello,
>
> Since a few weeks, I have a problem to compile GDAL trunk on one of my
> PCs. But it works on others, so I think there is a problem on the PC.
> This PC runs Linux 32 bits (Gentoo), and gcc version is 4.5.3.
>
> The first error occur in this line :
> typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const
> char* filename, int mode));
> cpl_minizip_ioapi.h:48:44: error: expected initializer before 'OF'
>
> Any idea of what may be wrong on my PC ?
>

I see OF is a macro defined in zconf.h of zlib. At least in zlib 1.2.3, perhaps
an issue with newer zlib ?
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to