Re: [C--] switch statement inside a loop is not compiled correctly. A bug?
Norman Ramsey <[email protected]> Sat, 11 Apr 2009 23:50:08 -0400
| Newsgroups | gmane.comp.lang.c-- |
|---|---|
| Message-ID | <[email protected]> |
> My c-- code looks correct.
It's not. Please reread the section in the specification on the
meaning of the switch statement. Pay special attention to this part:
(For ranges that cross zero, however, the results may be most
\emph{unexpected}. Beware!)
Norman
_______________________________________________
Cminusminus mailing list
[email protected]
https://www.eecs.harvard.edu/mailman/listinfo/cminusminus