From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: for help Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <155g1tsjfium8b3giusbqbcu4kdfe7tdv9@4ax.com> References: <20001117145034 DOT BB78C32691 AT smtp1-out DOT minitel DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 X-Trace: /KDWjckOkx46LI41yZXkxpxJyjxWJ+Va8KbAgasZzyMc1TScik1lWXjlO7ERGvL6X2L4lhp7pGlt!vrhFo/YlrYEq3SXkDZl+NLaqG4uRaMuwD2Pc65T8Zb+XDfIiUdYSmIzP7aQO50DLsBNClbpmZJEi!FQ== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sun, 19 Nov 2000 17:59:30 GMT Distribution: world Date: Sun, 19 Nov 2000 17:59:32 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 17 Nov 2000 10:16:03 -0700, "Felix Tilley" wrote: >In article <20001117145034 DOT BB78C32691 AT smtp1-out DOT minitel DOT net>, "H Mahi" > wrote: >> when I compile my c program (with RHIDE) I have the following error >> message :" parse error before char " But all lines before the type >> 'char' are correct, and contain only syntaxes supported by C. > >You have some kind of typo in your code like a comma interchanged >with a semi-colon or too many/too few quotes/parentheses/brackets. >Or an illegal character. Or a missing asterisk, or an asterisk >where there there shouldn't be one. Another possible cause of the "parse error before (declaration)" is trying to declare variables after lines of code that don't declare a variable. This is legal in C++ but not in the version of ANSI/ISO C that GCC supports. Post the shortest complete program that exhibits the problem, and we'll help you fix it. --