*BSD News Article 17447


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!wanderer.nsi.nasa.gov!root
From: root@wanderer.nsi.nasa.gov (Michael C. Newell)
Subject: Re: Who has had success with xview 3.0?
Message-ID: <1993Jun24.013940.20757@news.arc.nasa.gov>
Keywords: xview 3.0
Sender: usenet@news.arc.nasa.gov
Organization: NASA Ames Research Center, Moffett Field, CA
References:  <C91FHt.LCB@ra.nrl.navy.mil>
Date: Thu, 24 Jun 1993 01:39:40 GMT
Lines: 17

I had a LOT of problems, until I started looking for constructs
of the form "something = case ? value1 : value2".  I changed
them to "if (case) something = value1; else something = value2;"
and it cleaned up the problem.  I've had this same problem with
a number of other c compilers; I don't understand why, but 
changing the code as above fixes it every time.

On the other hand, once you've gotten through a huge number of
those cases, you'll start to compile the "help" stuff.  That
dies with an "insufficient virtual memory" error.  This seemed
odd to me, as I have 16Mb of memory on the machine and it
seems to me 16mb ought to be adequate to compile part of a
program.  Ok, so I'm an optimist!!  Anyway, that's the subject
of my next post...

Mike Newell
NASA Advanced Network Applications