Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: timw@isac.hces.com (Timothy M. Wieman)
Subject: dUNIX 3.2 cpp -M bug?
Date: 1995/10/31	[thread overview]
Message-ID: <1995Oct31.151120.13335@isac.hces.com> (raw)


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.



             reply	other threads:[~1995-10-31  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-31  5:00 Timothy M. Wieman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-10-26  4:00 dUNIX 3.2 cpp -M bug? Timothy M. Wieman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox