Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!utrcu1!infnews!ramaer From: ramaer@cs.utwente.nl (Mark Ramaer) Newsgroups: comp.sys.atari.st.tech Subject: Bug fix for Sozobon cc.c (and p2.c ?) Message-ID: <1991Apr2.131252@cs.utwente.nl> Date: 2 Apr 91 11:12:52 GMT Sender: ramaer@cs (Mark Ramaer) Organization: University of Twente, Dept. of Computer Science Lines: 35 Originator: ramaer@utis61 There is a bug in the compiler driver for Sozobon C which causes it to append weird non ascii characters to filenames. See the source file tools\cc.c , function: chsuf() just before the `return' it sais *suf = '\0' and this should be *p = '\0' Bug2: i am not certain about the fix here, hcc gives a bus error if you feed it struct kdhjvcsjhzgxcv { int x: /* colon instead of semicolon */ } abc; or the following illegal C-code: f(a) int a; { int xs[] = {a,-a,0}; do_something(xs); } The first bur error occurs hcc\p2.c , function: conlval() i changed if (nd->e_token == ICON) into if (nd && nd->e_token == ICON) and now hcc reports "need const expr" which is much more informative :-) Do the authors read this newsgroup, or does anyone know an e-mail address where to send the bug report? Mark Ramaer