[gdal-dev] Error when compiling GDAL trunk
Mateusz Loskot
mateusz at loskot.net
Thu Mar 22 12:41:18 EDT 2012
On 22 March 2012 16:28, Jean-Claude Repetto <jrepetto at free.fr> wrote:
> Le 22/03/2012 16:35, Kyle Shannon a écrit :
>>
>> Jean Claude,
>> I have a gdal test machine running Ubuntu 11.10. I build zlib 1.2.6 and
>> built and linked gdal against it no problems. Probably doesn't help much.
>>
>
> It seems the problem is specific to Gentoo. Please read
> https://bugs.gentoo.org/show_bug.cgi?id=383179 .
>
> Some people say that the OF macro is a zlib internal macro and should not be
> used in applications.
Indeed, some say "using the macros "OF" and "IF" in your own code is dumb"
I'd add, defining macros with such names in public headers is even more...
IMO, zlib should fix that too.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list