[Top][All Lists]

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

Re: [Lynx-dev] [Patch] Lynx won't compile against zlib

From: Nikos Chantziaras
Subject: Re: [Lynx-dev] [Patch] Lynx won't compile against zlib
Date: Sat, 17 Sep 2011 06:33:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110822 Thunderbird/6.0

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 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  The zlib website indicates the latest as

It's a beta:

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

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.

reply via email to

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