From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5589e8aa38bbb3ca,start X-Google-Attributes: gidfee84,public From: timw@isac.hces.com (Timothy M. Wieman) Subject: dUNIX 3.2 cpp -M bug? Date: 1995/10/31 Message-ID: <1995Oct31.151120.13335@isac.hces.com>#1/1 X-Deja-AN: 118292138 organization: PACE Health Management Systems newsgroups: comp.unix.osf.osf1 I'm finding some weirdness using cc(cpp) to generate makefile dependencies. Using "cpp (or cc) -M" gives the following error on some of our C files: Out of memory: There is no more memory left in the system for compiling this program Since there's free memory (both real and swap) I'm assuming this is wrong (you know what assuming does though). If I put "-std1" on the cpp line (which cpp doesn't even deal with, according to the man page) it gets rid of the error for some files but causes some other different files to error out with the same message. I can get this error with a C file including one header of ours (which of course includes other headers). But here's the STRANGE thing: I can get rid of the error by randoming placing COMMENTS or BLANK LINES in the C file. Has anyone else seen this error? We've got ~614 files and we get this error on ~60 of them. We really want to use the compiler to produce true header dependencies, but if we keep getting these, I don't know if we'll be able to. I would GREATLY appreciate a fix (or workaround) for this. TIA, Tim -- ------------------------------------------------------------------------ Timothy M. Wieman | Software Engineer | timw@hces.com | PACE Health Management Systems, Inc.