Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!infopiz!lupine!lupine.ncd.com From: rfg@lupine.ncd.com (Ron Guilmette) Newsgroups: comp.bugs.sys5 Subject: V.4 cc bug Message-ID: <3404@lupine.NCD.COM> Date: 20 Jan 91 09:02:17 GMT Sender: news@NCD.COM Organization: Network Computing Devices, Inc., Mt. View, CA Lines: 20 People who have systems based on V.4 could help me by trying to compile the following short test program and by E-mailing the results. (Please indicate the source of your C compiler and your V.4 port and the type of hardware that it runs on.) If you get a compilation error from this (perfectly legal) ANSI C code, then your C compiler has a bug. typedef const char *cpt; const char *p1; cpt p2; char c; int main () { p1 = &c; /* legal */ p2 = &c; /* also legal */ return 0; }