delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/30/09:52:43

Message-ID: <3662B0FD.6E51BA4@mail.pentek.com>
Date: Mon, 30 Nov 1998 09:51:41 -0500
From: Charles Krug <charles AT pentek DOT com>
Organization: Pentek Corporation
X-Mailer: Mozilla 4.5 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: Iterator problem with template
References: <3 DOT 0 DOT 2 DOT 32 DOT 19981126214305 DOT 0070c7c4 AT tex DOT lineanet DOT net>
Reply-To: djgpp AT delorie DOT com

Stefano Del Furia wrote:

> Dear friends,
> just another error.
> i have tried to compile another simple program that i have found on
> Nelson's STL book.

(snip)

> But there's a problem because i getting a parse error on this line (46):
>     buffer_pointer list;
>
> TIA
>
>  >>mailed by                              ''~``
>  Stefano Del Furia                       ( o o )
>   __________________________________.oooO--(_)--Oooo._

A parse error on line 46 USUALLY means that you forgot a semicolon at the
end of an earlier line.  It's trickier if you're use #define anywhere, since
your error could be hidden inside a macro.  That is most often something
like:

#define FRED = John

Where the equals sign is the error OR

#define FRED John;

Where the semicolon is the error.

Happy hunting!


Charles



--
Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458


- Raw text -


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