www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/06/12:18:01

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Raf256 <raf256 AT go2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Parse Error what does it mean.
Date: 6 Dec 2001 17:06:09 GMT
Organization: aa
Lines: 22
Sender: raf256 AT poczta DOT onet DOT pl@chello062179025129.chello.pl
Message-ID: <Xns916FB8B9CDB7rfdfciasdsdj412tr@213.180.128.20>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1011206094104 DOT 15950C AT is>
NNTP-Posting-Host: chello062179025129.chello.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1007658369 16384 62.179.25.129 (6 Dec 2001 17:06:09 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 6 Dec 2001 17:06:09 GMT
User-Agent: Xnews/4.06.22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in 
news:Pine DOT SUN DOT 3 DOT 91 DOT 1011206094104 DOT 15950C AT is:

>> In your case, you forgot a semicolon after the "Hello World!\n"
>> string. 
 
> Looks like GCC is reporting the parse error at the wrong place, then,
> no?  I'd understand if it said parse error in line 5 or 6, but not
> line 4, which is _before_ the problematic line, and is by itself
> perfectly valid C++.
> 
> A bug in line counts, perhaps?

i have GCC 3.0.2 and every thing is ok (error is "...before return ;")



-- 
Raf256
,--, _  ,-   _  _  _  ,---------------------------------------------,
|,-'`_|_|_  `_||_'|_' | raf256 AT go2 DOT pl
| `\|_| |   |_,,_||_| | 

- Raw text -


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