lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev cpp portabliity question


From: Vlad Harchev
Subject: Re: lynx-dev cpp portabliity question
Date: Fri, 15 Oct 1999 22:38:24 +0500 (SAMST)

On Fri, 15 Oct 1999, T.E.Dickey wrote:

> > 
> >  
> >  Tom and others,  
> >  how many compilers choke on this: 
> 
> anything that follows the standard, however loosely...
> (as given, you have a syntax error).

 What syntax error you are talking about? gcc handles this as expected, the
result is 'x+x' (the ANSI spec says this is a correct behaviour, and most
obvious incorrect behaviour is infinite loop).

> > #define x x+x  
> > x  
> >   
> >  Best regards, 
> >   -Vlad 
> 
> 
> -- 
> Thomas E. Dickey
> address@hidden
> http://www.clark.net/pub/dickey
> 

 Best regards,
  -Vlad


reply via email to

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