delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Thu, 6 Dec 2001 09:41:23 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | djgpp AT delorie DOT com |
Subject: | Re: Parse Error what does it mean. |
In-Reply-To: | <200112052042.fB5Kgkc29043@envy.delorie.com> |
Message-ID: | <Pine.SUN.3.91.1011206094104.15950C@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, 5 Dec 2001, DJ Delorie wrote: > 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?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |