delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/19/13:15:31

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
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> <t1apulfvfjof84 AT corp DOT supernews DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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"
<ftilley AT localhost DOT localdomain> wrote:

>In article <20001117145034 DOT BB78C32691 AT smtp1-out DOT minitel DOT net>, "H Mahi"   
><mahi DOT hassan AT voila DOT fr> 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.

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019