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

Bug 577470

Summary: net-libs/webkit-gtk-2.10.8 with clang-3.8: Source/JavaScriptCore/runtime/Options.cpp:613:67: error: use of undeclared identifier 'isnan'
Product: Gentoo Linux Reporter: Franz Trischberger <franz.trischberger>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: franz.trischberger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.webkit.org/pipermail/webkit-gtk/2016-March/002658.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
webkit-gtk-2.10.8_fix_clang.patch

Description Franz Trischberger 2016-03-15 12:53:55 UTC
Created attachment 428292 [details]
build.log.xz

/var/tmp/portage/net-libs/webkit-gtk-2.10.8/work/webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp:613:67: error: use of undeclared identifier 'isnan'
        return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
                                                                  ^
/var/tmp/portage/net-libs/webkit-gtk-2.10.8/work/webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp:613:95: error: use of undeclared identifier 'isnan'
        return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
Comment 1 Franz Trischberger 2016-03-15 12:59:41 UTC
Created attachment 428294 [details, diff]
webkit-gtk-2.10.8_fix_clang.patch
Comment 2 Franz Trischberger 2016-03-16 07:25:51 UTC
This seems to be fixed in trunk already and proposed for 2.10.9:
https://lists.webkit.org/pipermail/webkit-gtk/2016-March/002658.html
Comment 3 Pacho Ramos gentoo-dev 2016-04-04 19:31:03 UTC
2.10.9 in the tree