delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/05/10:42:47

Date: Wed, 5 Apr 2000 13:04:44 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200004051104.NAA26848@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com
Cc: Tim Armstrong <tarmstro AT gladstone DOT uoregon DOT edu>
References: <8cdumb$hm$1 AT pith DOT uoregon DOT edu>
In-Reply-To: <8cdumb$hm$1@pith.uoregon.edu>
MIME-Version: 1.0
User-Agent: IMP/PHP3 Imap webMail Program 2.0.11
Sender: pad2369 AT iperbole DOT bologna DOT it
Subject: Re: parse error
Reply-To: djgpp AT delorie DOT com

Tim Armstrong <tarmstro AT gladstone DOT uoregon DOT edu>:
> When I try to compile (my first program!)  I get a 
parse error in the
> program and stdio.h. in lines 102,103,104, before _va-
list.  What am I
> doing
> wrong?

Do you include other .h files before stdio.h? If these 
files have error (the most common is to write
function declaration forgetting the final ';') then the 
compiler gets confused and reports error in subsequent 
files.

Could you please post the smallest source code that 
gives the error? Very often this reducing process helps 
you to find the error yourself. :-)

ciao
  Giacomo

-----------------------------------------------------
Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it

- Raw text -


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