[Webkit-unassigned] [Bug 207757] [GStreamer] Build failure with Clang/libc++ due to missing WallTime→float for std::isnan()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 15 05:13:01 PST 2020


Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |aperez at igalia.com
                   |kit.org                     |
            Summary|[GStreamer][Stable] Build   |[GStreamer] Build failure
                   |failure with Clang/libc++   |with Clang/libc++ due to
                   |due to missing              |missing WallTime→float for
                   |WallTime→float for          |std::isnan()
                   |std::isnan()                |

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
This happens in trunk as well. There are “std::isnan()” overloads
defined for “WTF::Walltime”, but Clang is being a bit more strict
than GCC here and not considering them when using a bare “isnan()“
call (without the namespace) because the overloaded version is
inside the namespace, and there us no “using std::isnan;” (or
equivalent) anywhere when non-unified builds are disabled.

The fix is to add the “std::” namespace prefix to the function
call =)

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/20200215/b9a5f8e2/attachment.htm>

More information about the webkit-unassigned mailing list