From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: compiler error Date: Sun, 30 Nov 1997 13:10:20 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 50 Message-ID: <348165B5.79DE@cs.com> References: <65o5v5$25n AT camel20 DOT mindspring DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp238.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk michael wrote: > > i am trying to compile this program i wrote 3 days ago, I am using c++ > compiler that comes with djgpp When i compile it keeps giving me this error > message saying that there is a parse error in an included file. Does anyone > know what this parse error message means. My program has no syntax errors. I > can;t figure out what this parse error means. > please respond to me if you know anything about why the compiler gives a > parse error Shall I respond six times, once for each time you posted this message? This comes dangerously close to spamming, especially since you posted absolutely no useful information about your problem. Technical support is a cooperative effort; it requires your participation. We aren't mindreaders. FYI, a parse error means the compiler didn't understand something you wrote. It could mean you used incorrect punctuation, incorrect syntax, used a word the compiler doesn't know, or any of a dozen other things. Sometimes the actual error is in a different place than is reported by the compiler. Sometimes a parse error is caused by code that is designed for a compiler other than DJGPP. If you answer some basic questions, we might be able to help you find the error. What included file causes the error? What line of the file causes the error? What is the _exact_ error message you got (see chapter 6 of the FAQ for how to capture gcc error messages)? Does this happen with all programs that include the file or just yours? Can you compile programs that don't include the file? Is this included file one that comes with DJGPP, one that you made, or a third-party file? Is your DJGPP installation properly configured? What is the smallest code fragment that causes the error? Please post it. -- --------------------------------------------------------------------- | John M. Aldrich | "A committee is a life form with six | | aka Fighteer I | or more legs and no brain." | | mailto:fighteer AT cs DOT com | | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------