Help save net neutrality! Learn more.
Close

#70 font.c: 2 error: zero or negative size array

open
nobody
None
5
2011-03-29
2011-03-29
Matt Curry
No

OS X 10.6.6 compiling ver 7.18.2 from source.

src/other/URToolkit/tools/clock/font.c produced the error:

font.c: 2 error: zero or negative size array at Move

...so I changed it to:

#include "font.h"
move_t Moves[] = {
0, // <-- this was not here
};

int Base[] = {
0,
};

and it compiled.

What this the correct thing to do?

Thanks!

Discussion


Log in to post a comment.