Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!wugate!uunet!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: Type of expression in switch statement Message-ID: <1517@crdos1.crd.ge.COM> Date: 30 Oct 89 15:15:44 GMT References: <1989Oct30.043155.1931@eng.umd.edu> <20448@mimsy.umd.edu> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 11 In article <20448@mimsy.umd.edu>, chris@mimsy.umd.edu (Chris Torek) writes: | Incidentally, switch expressions of type `long' are now legal as well, | so this error message should be changed to `... not integral type'. Actually as you say "integeral types" are allowed, including short, char and enum I would assume. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon