[16865] in Athena Bugs
IRIX cpp
daemon@ATHENA.MIT.EDU (Joseph Sokol-Margolis)
Thu May 27 17:54:06 1999
Message-Id: <199905272153.RAA00024@m66-080-19.mit.edu>
To: bugs@MIT.EDU
Date: Thu, 27 May 1999 17:53:58 EDT
From: Joseph Sokol-Margolis <seph@MIT.EDU>
tested on irix 6.2 and irix 6.5
irix cpp seems to else to the last elif, in an if elif else block.
If I have the code
#define TEST 2
#if (TEST==1)
1
#elif (TEST==2)
2
#else
else
#endif
cpp, prints 2, if I define test to 1, cpp prints 1 and else.
sun's appear to DTRT, as do linux boxes.
(yes, I realize this is a vender bug)
seph