| Summary: | Fix compilation with vanilla clang 7.1.0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Dmitry Kalinkin <veprbl+webkit> | ||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | don.olmstead, Hironori.Fujii, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 428797 [details]
1/1
Committed r279240 (239125@main): <https://commits.webkit.org/239125@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428797 [details]. |
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.