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

Bug 632016

Summary: dev-lang/spidermonkey-24.2.0-r3 does not compile with gcc-7.2
Product: Gentoo Linux Reporter: Alexander Petermann <pitzera>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pitzera
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: build.log
patch

Description Alexander Petermann 2017-09-25 21:39:13 UTC
spidermonkey fails to compile with gcc 7.2 because of the the new compiler rules:

 error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
         if (value[0] == '\0')


Reproducible: Always
Comment 1 Alexander Petermann 2017-09-25 21:40:24 UTC
Created attachment 496414 [details]
build.log
Comment 2 Alexander Petermann 2017-09-25 22:01:50 UTC
Created attachment 496418 [details, diff]
patch

this patch should fix the problem
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2017-10-03 18:58:28 UTC
Already addressed in spidermonkey-24.2.0-r4

*** This bug has been marked as a duplicate of bug 601030 ***