Re: [Super-tux-devel] CVS status update
Brought to you by:
wkendrick
From: Tobias <tob...@gm...> - 2004-02-02 12:49:56
|
Am So, den 01.02.2004 schrieb Bill Kendrick um 18:47: > On Sun, Feb 01, 2004 at 11:43:00PM -0500, Tobias Gläßer wrote: > > Hi all, > > > > I've made a big commit a few minutes ago. > > Everybody is invited to help fixing the FIXMEs and get > > SuperTux more stable. We are steering in the direction of > > new release. (This doesn't necessarly mean a release will be made soon) > > Thanks! First time I've 'cvs update'd in a while. Been busy and sick on > and off. :( > > BTW, I note this when I run make, however: > > src/leveleditor.c: In function `leveleditor': > src/leveleditor.c:461: parse error before `int' > src/leveleditor.c:462: `cursor_tile' undeclared (first use in this function) > src/leveleditor.c:462: (Each undeclared identifier is reported only once > src/leveleditor.c:462: for each function it appears in.) > src/leveleditor.c:465: warning: unreachable code at beginning of switch statement > src/leveleditor.c: In function `showhelp': > src/leveleditor.c:643: parse error before `int' > src/leveleditor.c:644: `i' undeclared (first use in this function) > make: *** [obj/leveleditor.o] Error 1 > > > Seems someone is using the non-C-syntax of... > > function () > { > type var; > type var; > > some code; > some code; > > type var; /* YOU CANNOT DO THIS IN REGULAR C!!! */ > > more code; > } > > > All variable declarations need to be done at the top of the function > (or, at least, at the beginning of a block, right after the "{", but before > any statements) > > I can look and fix, if you want me to... > > > -bill Thanks Bill. I'll fix it, thought my C compiler (gcc) doesn't worry about those things. :) Get well soon! Greetz... Tobias Gläßer |