[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev removing strings used in CTRACE when configured without tra
From: |
dickey |
Subject: |
Re: lynx-dev removing strings used in CTRACE when configured without tracing |
Date: |
Sun, 18 Apr 1999 09:51:34 -0400 (EDT) |
>
> On Thu, 15 Apr 1999, Vlad Harchev wrote:
>
> > The are several approaches:
> > 1)Use a feature of gcc - macros with variable number of arguments, in this
> > case we can do the following
>
> Non-portable. Not a good fix. Nice to know it exists though, thanks.
yes. some C-preprocessors really do care - and we wouldn't be able to
use the code.
> > 2) First I've written the following script
> > 3) So I wrote the the small program using lex (it does the same as script
> > above, but very fast).
>
> These are both good ideas, but I'm leery of letting scripts modify 1000+
> lines of code in this manner. I don't think there's an easy way to fix this
> properly. It's best to just let it slide for now, perhaps worry about it
> after 2.8.2.
I've a few of those that I'm saving. (plus, adding lex to the build will
complicate ports)
> I'm almost positive this is a bug in the C compiler. Perhaps
> I'll take umbrage with the gcc folk.
>
> --
> John Bley - address@hidden
> Duke '99 - English/Computer Science
> Since English is a mess, it maps well onto the problem space,
> which is also a mess, which we call reality. - Larry Wall
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey