On Tue, Nov 06, 2012 at 08:22:02PM +0000, Chris Young wrote: > I have to remove the trailing slash on the -I parameter to pacify > AmigaOS (nsgenbind tries to open javascript/WebIDL//dom.idl otherwise, > which will never work)
ok, unix doesnt care but its no problem to have it like that > > nsgenbind -I javascript/WebIDL -d build-amiga-amiga/window.d -o > build-amiga-amiga/window.c javascript/jsapi/window.bnd > > It then crashes with this stack trace: this smells of stack overflow. nsgenbind is *very* stack happy the AST it builds is scanned depth first so it recurses like mad. I ran valgrind to check and there is no heap corruption i can see. <snip odd backtrace> > > My Windows (Cygwin) build is crashing too, although it does actually > do something before it crashes, but hasn't yet managed to generate > htmldocument.c (it did generate htmlcollection.c and maybe some other > files) > 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. > Any ideas? > > Chris > > -- Regards Vincent http://www.kyllikki.org/
