This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/19040] #elif token1 token2 doesn't produce a diagnostic


------- Additional Comments From dpatel at apple dot com  2004-12-16 21:07 -------
Subject: Re:  #elif token1 token2 doesn't produce a diagnostic


On Dec 16, 2004, at 1:01 PM, bangerth at dealii dot org wrote:

> That's because it doesn't have to evaluate the #elif condition any 
> more,
> since it has already taken the #ifdef branch.

But that's the point. My reading of C99 standard does not give 
preprocessor this freedom.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19040


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]