lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev The whole CTRACE thing


From: dickey
Subject: Re: lynx-dev The whole CTRACE thing
Date: Mon, 19 Apr 1999 08:39:52 -0400 (EDT)

> On Mon, 19 Apr 1999, Gisle Vanem wrote: 
>  
> > #define CTRACE(arg) do {              \ 
> >                       if (TRACE)      \ 
> >                          fprintf arg; \ 
> >                     } while (0) 
> >  
> > However, this requires extra paranthesis: 
> >  
> >   CTRACE ((tfp, "foo")); 
>  
> Is this portable?  I was unaware the preprocessor could do that. 

yes, but it causes some compilers and most versions of lint to spit
out nasty messages.
  
> John Bley - address@hidden 

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

reply via email to

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