[Webkit-unassigned] [Bug 207757] New: [GStreamer][Stable] Build failure with Clang/libc++ due to missing WallTime→float for std::isnan()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 14 04:44:38 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207757
Bug ID: 207757
Summary: [GStreamer][Stable] Build failure with Clang/libc++
due to missing WallTime→float for std::isnan()
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aperez at igalia.com
WPE WebKit 2.27.90 (and most surely the GTK port as well) fail to build with
Clang when using libc++ (instead of GNU stdlibc++).
Configuration command:
CC=clang CXX=clang++ \
LDFLAGS='-stdlib=libc++ -fuse-ld=lld' \
CXXLAGS='-stdlib=libc++' \
cmake -DPORT=WPE -DUSE_LD_GOLD=OFF -DUSE_LD_LLD=ON <...>
Build error:
../Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:1155:10: error: no matching function for call to 'isnan'
if (!isnan(priv->downloadStartTime)) {
^~~~~
/usr/bin/../include/c++/v1/math.h:535:1: note: candidate function not viable: no known conversion from 'WTF::WallTime' to 'float' for 1st argument
isnan(float __lcpp_x) _NOEXCEPT { return __libcpp_isnan(__lcpp_x); }
^
/usr/bin/../include/c++/v1/math.h:539:1: note: candidate function not viable: no known conversion from 'WTF::WallTime' to 'double' for 1st argument
isnan(double __lcpp_x) _NOEXCEPT { return __libcpp_isnan(__lcpp_x); }
^
/usr/bin/../include/c++/v1/math.h:543:1: note: candidate function not viable: no known conversion from 'WTF::WallTime' to 'long double' for 1st argument
isnan(long double __lcpp_x) _NOEXCEPT { return __libcpp_isnan(__lcpp_x); }
^
/usr/bin/../include/c++/v1/math.h:521:1: note: candidate template ignored: requirement 'std::is_floating_point<WTF::WallTime>::value' was not satisfied [with _A1 = WTF::WallTime]
isnan(_A1 __lcpp_x) _NOEXCEPT
^
/usr/bin/../include/c++/v1/math.h:529:1: note: candidate template ignored: requirement 'std::is_integral<WTF::WallTime>::value' was not satisfied [with _A1 = WTF::WallTime]
isnan(_A1) _NOEXCEPT
^
1 error generated.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200214/e72ebf5a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list