delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/19/05:20:42

Date: Sun, 19 Jul 1998 12:17:05 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alexander Bokovoy <bokovoy AT bspu DOT ac DOT by>
cc: djgpp AT delorie DOT com
Subject: Re: problem setting my map array
In-Reply-To: <13805.980716@bspu.unibel.by>
Message-ID: <Pine.SUN.3.91.980719121619.29744D-100000@is>
MIME-Version: 1.0

On Thu, 16 Jul 1998, Alexander Bokovoy wrote:

> > But DJGPP gives me this:
> > tile.cpp: In method `void Tile_Map::Initialize()':
> > tile.cpp:14: parse error before `]'
> > What am I doing wrong?
> Brief: You're declared two dimensional array but tried to initialize
> it with one dimensional data.

This shouldn't have triggered a ``parse error'', just a warning (and even 
that with -Wall only).

- Raw text -


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