[Webkit-unassigned] [Bug 163869] GCC warning in testb3.cpp testAbsArgWithEffectfulDoubleConversion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 23 08:55:34 PDT 2016


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

--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #2)
> Ah OK, the problem is the code is somehow accidentally using std::fabs and
> std::sqrt (not sure how) and getting a float result, but it looks like the
> test actually wants ::fabs and ::sqrt so that the return value will be a
> double.

Hm, I'm wrong, it doesn't silence the warning....

> Alternatively, the return values could just be cast to double to fix the
> warning, but not sure if that would be right for this test or not.

I think this should be fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161023/b2747b7a/attachment-0001.html>


More information about the webkit-unassigned mailing list