[Webkit-unassigned] [Bug 225856] New: [PATCH] Fix compilation with vanilla clang 7.1.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 16 11:30:51 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225856

            Bug ID: 225856
           Summary: [PATCH] Fix compilation with vanilla clang 7.1.0
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: veprbl+webkit at gmail.com

webkitgtk> ../Source/WebCore/platform/graphics/ColorComponents.h:110:33: error: call to 'abs' is ambiguous
webkitgtk>     return map([](T c) { return std::abs(c); });
webkitgtk>                                 ^~~~~~~~
webkitgtk> ../Source/WebCore/platform/graphics/filters/FETurbulence.cpp:344:88: note: in instantiation of member function 'WebCore::ColorComponents<float>::abs' requested here
webkitgtk>             turbulenceFunctionResult += noise2D(paintingData, stitchData, noiseVector).abs() / ratio;
webkitgtk>                                                                                        ^
webkitgtk> /nix/store/wd30p2pq4lci8fk9fqldkgk1hgmwpapj-Libsystem-1238.60.2/include/stdlib.h:129:6: note: candidate function
webkitgtk> int      abs(int) __pure2;
webkitgtk>          ^
webkitgtk> /nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include/c++/v1/stdlib.h:111:44: note: candidate function
webkitgtk> inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT {return  labs(__x);}
webkitgtk>                                            ^
webkitgtk> /nix/store/3ndhndpas5zaxpa63gldf2xgcd2skd3y-libc++-7.1.0/include/c++/v1/stdlib.h:113:44: note: candidate function
webkitgtk> inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
webkitgtk>                                            ^
webkitgtk> 3 warnings and 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/20210516/09eaa86d/attachment.htm>


More information about the webkit-unassigned mailing list