Aunc.839 NET.v7-bugs utzoo!duke!unc!smb Tue May 26 10:39:56 1981 casts and constants The Ritchie C compiler does not treat the construct (char) 100 as a constant. This means that statements like switch(c) { case (char) 0x80: foobar(); are illegal. The Portable C compiler on the 11, and the VAX C compiler do not suffer from this problem. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.