Using gcc-6* to compile dev-lang/spidermonkey-1.8.5-r5 fails with "error: cannot convert 'bool' to 'JSIdArray*' in return"
Created attachment 433682 [details, diff] js-1.8.5-c++11.patch Patch to fix compilation in c++11 mode
Compiles for me with the patch from #1.
Patch from comment 1 works for me, too.
This seems to be fixed in 1.8.5-r6?