lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Lynx 2.7.1fm


From: T.E.Dickey
Subject: Re: LYNX-DEV Lynx 2.7.1fm
Date: Wed, 10 Dec 1997 20:49:56 -0500 (EST)

> That gets by with gcc, but other compilers, for both Unix and VMS, balk
> at the misuse of an enum as a boolean flag.  All of the if() clauses
> in the devel code which treat the enum return values as a boolean flag
> should be changed to do explicit equality or inequality checks (i.e.,
> == TQ_NO or != TQ_NO), as is done for the HTCJK enum (== NOCJK or
> != NOCJK), often in the same if() clauses.
I already did that - right before you read my response.  (ANSI compilers
would accept that - but of course we're not dealing with ANSI compilers
all the time).

>                               Fote

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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