Re: [cc65] array of pointers to functions question

From: Groepaz <groepaz1gmx.net>
Date: 2010-05-16 20:57:13
On Sonntag 16 Mai 2010, Ullrich von Bassewitz wrote:
> On Sun, May 16, 2010 at 05:10:21PM +0200, Daniel Pralle wrote:
> > >>int foo;  // declaration
> > >>foo = 1;  // assignment
> > >>int bar;  // ILLEGAL
> > >
> > >almost. this particular snippet would work just fine :o)
> >
> > What did i miss here? It doesn't compile with my cc65?!?!?
> 
> You are right. It isn't valid C89.

it is, i can't read. the second one looked like an initialized variable to me. 
oh well :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Wenn die, die rein wollen, die, die raus wollen, nicht raus lassen, können 
die, die raus wollen, die, die rein wollen, nicht rein lassen!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun May 16 21:01:20 2010

This archive was generated by hypermail 2.1.8 : 2010-05-16 21:01:22 CEST