Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!ALASKA.BITNET!FSJTM From: FSJTM@ALASKA.BITNET (...Ar Henchou Kuzh...) Newsgroups: comp.sys.amiga Subject: Don't forget the comma Message-ID: <8810192323.AA21251@jade.berkeley.edu> Date: 20 Oct 88 00:21:05 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: Lines: 25 [] Has anyone else run into this "feature" of Manx C? It happens with both 3.4b and 3.6a (at least, the ones I have). Minimal case - char *array[] = { "s1" "s2" }; That's it. Now, it seems obvious to me (and every other compiler I have used) that this is a syntax error. But the Manx compiler never even burps. What it does do is concat "s1" and "s2" into "s1s2" and put just the one pointer into array. This one took me quite a while to find once when I had a large array and forgot a few commas. I've sent a note off to Manx (since long distance calls from here can cost an arm and a leg), but from what I've been hearing on the net about their support, I don't expect them to reply (at least, I'm not holding my breath). Just thought I'd see if anyone else knew about this, and maybe save someone a few hours of head-beating with a debugger. [jtm] John McCranie FSJTM@ALASKA Box 900306 University of Alaska, Fairbanks 99775-1040 Hawk looks down from lofty flight Dzur stalks and blends with night.