Xref: utzoo comp.lang.c:33817 comp.unix.ultrix:5319 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!mips!pacbell.com!att!news.cs.indiana.edu!news!mahesh From: mahesh@news.nd.edu (Mahesh Subramanya) Newsgroups: comp.lang.c,comp.unix.ultrix Subject: Why is this code fragment not compiling? Message-ID: <703@news.nd.edu> Date: 14 Nov 90 14:23:52 GMT Followup-To: poster Distribution: usa Organization: Univ. of Notre Dame Lines: 40 I have been beating my head against this for pretty much the whole night, and am starting to doubt my own sanity. I've been trying to get some C compiled on a DecSystem 3100 running Ultrix 3.1 (Rev. 15) and have been unsuccesful (very). I finally managed to isolate the problem to one particular fragment - the following: main() { int *lgstr; int *numlist; int indexval; *numlist++ = ( lgstr[indexval] || 1 ); } What, pray what is wrong with the above? Is there something incredibly boneheaded that I am doing? On trying to compile (with cc test.c ), I get the error (ccom): test.c, line 10: ccom: Internal: wasted space: 2001725020 } ^ It seems to merrily compile on every other machine that I have tried it on. Thanx a million for any idea. (The above line of code may look rather stupid, but it WILL NOT compile) ************************************************************************ Mahesh Subramanya INTERNET: mahesh@darwin.cc.nd.edu Senior Analyst Office of University Computing NeXT: mahesh@numenor.cc.nd.edu University of Notre Dame Voice: (219) 239-5600 x6421 Notre Dame, IN 46556 ************************************************************************