delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/20/03:03:24

Date: Thu, 20 Jan 2000 09:30:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: David Cleaver <davidis AT ou DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Problem with include files...
In-Reply-To: <3886794F.9CF4D16@ou.edu>
Message-ID: <Pine.SUN.3.91.1000120092832.21977U-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 19 Jan 2000, David Cleaver wrote:

> unsigned char table011[][] = {{ 0, 0},

This is not valid C: you can't leave both dimensions unspecified.
Only the last dimension can be left unspecified.

In other words, you need to say this:

  unsigned char table011[2][] = {{ 0, 0},

- Raw text -


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