Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.lang.c++ Subject: Re: Porting v1.2 to Encore Multimax Message-ID: <6810@mimsy.UUCP> Date: Wed, 27-May-87 22:18:06 EDT Article-I.D.: mimsy.6810 Posted: Wed May 27 22:18:06 1987 Date-Received: Fri, 29-May-87 01:44:03 EDT References: <15830@brunix.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 Keywords: compiler problems In article <15830@brunix.UUCP> ajg@csvx002 (Alan J. Gebele) writes: >The Encore's C compiler will not accept switch statments whose case labels >are not all in the same block (as in example below). >(According the Umax manual, this is an anomaly found only in Portable C). The Umax manual is wrong. See K&R, pp. 202-203. No restriction is made on case labels; case labels are *labels*. K&R is not explicit; neither, it seems, is the present dpANS. Encore has a case, but I think they are at default. :-/ -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris