[Webkit-unassigned] [Bug 130286] New: Fix build: using integer absolute value function 'abs' when argument is of floating point type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 14 22:04:06 PDT 2014


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

           Summary: Fix build: using integer absolute value function 'abs'
                    when argument is of floating point type
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


Fix the following build failure when using trunk clang (r203900):

JavaScriptCore/assembler/MacroAssembler.h:992:17: error: using integer absolute value function 'abs' when argument is of floating point type [-Werror,-Wabsolute-value]
        value = abs(value);
                ^
JavaScriptCore/assembler/MacroAssembler.h:992:17: note: use function 'fabs' instead
        value = abs(value);
                ^~~
                fabs
1 error generated.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list