Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582478

Summary: dev-lang/spidermonkey-1.8.5-r5: building w/gcc-6: error: cannot convert 'bool' to 'JSIdArray*' in return
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: [OLD] GCC PortingAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: fturco, plevine457, wikky
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: js-1.8.5-c++11.patch

Description Peter Levine 2016-05-08 21:35:48 UTC
Using gcc-6* to compile dev-lang/spidermonkey-1.8.5-r5 fails with "error: cannot convert 'bool' to 'JSIdArray*' in return"
Comment 1 Peter Levine 2016-05-08 21:37:45 UTC
Created attachment 433682 [details, diff]
js-1.8.5-c++11.patch

Patch to fix compilation in c++11 mode
Comment 2 Vic Kerr (wikky) 2016-08-28 23:59:59 UTC
Compiles for me with the patch from #1.
Comment 3 Francesco Turco 2016-08-30 13:17:51 UTC
Patch from comment 1 works for me, too.
Comment 4 Alexandra Parker 2016-10-22 21:57:00 UTC
This seems to be fixed in 1.8.5-r6?