On Wed, 7 Nov 2012 17:53:06 +0000, Vincent Sanders wrote:
> > > the fact it crashes on windows is a bit worrying, obviously it is just
> > > fine on Linux but I will continue to investigate for you.
> >
> > Thanks. On Windows it crashes quite silently, I get the attached
> > "stackdump" file continually updated/rewritten as it goes through the
> > nsgenbind commands. No errors are ever reported on the Shell, until gcc
> > tries to read the generated files and they aren't there.
> Should be fixed now, let me know
Yes, it is, thanks.
Next problem: something isn't getting substituted in as it is supposed
to. I'm getting errors like the below:
COMPILE: build-amiga-amiga/console.c
gcc: build-amiga-amiga/build-amiga-amiga_console.o: No such file or directory
build-amiga-amiga/console.c: In function 'jsapi_native_debug':
build-amiga-amiga/console.c:58: error: 'JSClass_Console' undeclared (first use in this function)
build-amiga-amiga/console.c:58: error: (Each undeclared identifier is reported only once
build-amiga-amiga/console.c:58: error: for each function it appears in.)
build-amiga-amiga/console.c:63: error: '$d' undeclared (first use in this function)
Looking through the source of console.c there is obvious wrongness:
JSClass JSClass_$s = {
"$s",
0 | JSCLASS_HAS_PRIVATE,
[...]
JSString *$s_jsstr = NULL;
int $s_len = 0;
char *$s = NULL;
[etc]
I've attached that file so you can have a look at it.
Chris
No comments:
Post a Comment