[Webkit-unassigned] [Bug 139384] New: Fix Build Warning in JavaScriptCore ControlFlowProfiler::dumpData() api

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 7 21:27:16 PST 2014


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

            Bug ID: 139384
           Summary: Fix Build Warning in JavaScriptCore
                    ControlFlowProfiler::dumpData() api
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shiva.jm at samsung.com

Fix Build Warning in JavaScriptCore ControlFlowProfiler::dumpData() api:

Wpointer-arith -Wundef -Wwrite-strings -MMD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/ControlFlowProfiler.cpp.o -MF "Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/ControlFlowProfiler.cpp.o.d" -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/ControlFlowProfiler.cpp.o -c ../../Source/JavaScriptCore/runtime/ControlFlowProfiler.cpp
../../Source/JavaScriptCore/runtime/ControlFlowProfiler.cpp: In member function ‘void JSC::ControlFlowProfiler::dumpData() const’:
../../Source/JavaScriptCore/runtime/ControlFlowProfiler.cpp:58:46: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
         dataLogF("SourceID: %ld\n", iter->key);
                                              ^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.

-- 
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/20141208/565051cd/attachment-0002.html>


More information about the webkit-unassigned mailing list