On 09/17/2011 05:34 AM, Keith Bowes wrote:
Je 2011-Sep-16 je 22:09, Nikos Chantziaras skribis:
Trying to build Lynx with zlib 1.2.5.1 results in build errors, due
to the 'ON' macro of zlib, which conflicts with the one in
LYUtils.h. Here's a bug report about it on Gentoo's tracker:

Weird.  There's a 1.2.5.1?  The zlib website indicates the latest as
1.2.5.

It's a beta:

http://www.zlib.net/current/beta/zlib-1.2.5.1.tar.gz


A patch that fixes the problem by renaming Lynx's ON and OFF macros
to LON and LOFF:

It would be nice if C had qualified identifiers, a la modern dialects of
Pascal.

In any event, a generic identifier like ON in a header file of a library is kind of a brain damaged idea to begin with.

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to