Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!comeau From: comeau@ditka.Chicago.COM (Greg Comeau) Newsgroups: comp.lang.c++ Subject: Re: 64 bit architectures and C/C++ Message-ID: <38474@ditka.Chicago.COM> Date: 8 May 91 18:14:13 GMT References: <168@shasta.Stanford.EDU> <12563@dog.ee.lbl.gov> <312@nazgul.UUCP> Sender: news@ditka.Chicago.COM (Pulitzer at ditka) Reply-To: comeau@csanta.attmail.com (Greg Comeau) Organization: Comeau Computing Lines: 17 In article <312@nazgul.UUCP> bright@nazgul.UUCP (Walter Bright) writes: >char *p; signed char *ps; unsigned char *pu; >p = pu;/* syntax error */ p = ps; /* syntax error */ >It seems we [Zortech] are the only compiler that flags these as errors. I'm quite sure we (Comeau C++) do too. >A related example is: int i; short *ps; *ps = &i; We'd flag this too (even if you left off the *! ;-}). - Greg -- Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418 Producers of Comeau C++ 2.1 Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421 Voice:718-945-0009 / Fax:718-441-2310