From owner-freebsd-questions Fri Jul 4 00:58:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA14566 for questions-outgoing; Fri, 4 Jul 1997 00:58:07 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA14561 for ; Fri, 4 Jul 1997 00:58:03 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id JAA08145; Fri, 4 Jul 1997 09:57:44 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199707040757.JAA08145@helbig.informatik.ba-stuttgart.de> Subject: Re: weird gcc error? In-Reply-To: <33bb4d09.2670126@mail.inreach.com> from Donald Burr at "Jul 3, 97 07:21:01 am" To: dburr@POBoxes.com Date: Fri, 4 Jul 1997 09:57:43 +0200 (MET DST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Anyway, here is the problem: When compiling large programs, the > compile sometimes stops with an error. usually the error is something > like "parse error before '}'" but I remember one time when it was > something else (can't remember what the error was at that time, > though). The weird thing is, there IS no error (when I read the file, > it looks like perfectly good C syntax to me), and, if I run 'make' and > recompile that file WITHOUT CHANGING IT, it works fine! But the otions passed to cc might be different, e. g. if you use `make' the #include search path might be different - changed by -I flag. So you might have missing names and or typedefs which may lead to the above error messages. > Other than this, the machine is working perfectly. I often have it up > and doing stuff for hours, sometimes days at a time, and there haven't > been any other errors to speak of. > > So is this a gcc bug? Is anyone else having this type of trouble? Is > there a patch for it? > > Please let me know, pref. by email. Thanks! > -- > Donald Burr - Ask me for my PGP key | PGP: Your > WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to > Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. > Phone: (805) 564-1871 FAX: (800) 492-5954 | USE IT. >