Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 1997 09:57:43 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: weird gcc error?
Message-ID:  <>
In-Reply-To: <> from Donald Burr at "Jul 3, 97 07:21:01 am"

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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:  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.

Want to link to this message? Use this URL: <>