[Webkit-unassigned] [Bug 187803] [JSC] Remove gcc warnings for 32-bit platforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 19 16:09:03 PDT 2018


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

--- Comment #4 from Mark Lam <mark.lam at apple.com> ---
(In reply to Guillaume Emont from comment #3)
> (In reply to Mark Lam from comment #2)
> > Comment on attachment 345348 [details]
> > Patch
> > 
> > r- because this broke the Mac 32-bit build.
> 
> Could you share a build log?

It's right there in the red EWS bubble above: https://webkit-queues.webkit.org/results/8586996

In file included from /Volumes/Data/EWS/WebKit/WebKitBuild/Release/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource6.cpp:2:
./assembler/MacroAssemblerPrinter.cpp:92:37: error: format specifies type 'int' but the argument has type 'long' [-Werror,-Wformat]
    out.printf("pc:<%p %d>", value, bitwise_cast<intptr_t>(value));
                       ~~           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       %ld
./assembler/MacroAssemblerPrinter.cpp:104:64: error: format specifies type 'int' but the argument has type 'intptr_t' (aka 'long') [-Werror,-Wformat]
    out.printf("%s:<%p %d>", name, bitwise_cast<void*>(value), value);
                       ~~                                      ^~~~~
                       %ld
./assembler/MacroAssemblerPrinter.cpp:125:95: error: format specifies type 'int' but the argument has type 'intptr_t' (aka 'long') [-Werror,-Wformat]
    out.printf("Address{base:%s:<%p %d>, offset:<0x%x %d>", name, bitwise_cast<void*>(value), value, address.offset, address.offset);
                                    ~~                                                        ^~~~~
                                    %ld
3 errors 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/20180719/7043dc95/attachment.html>


More information about the webkit-unassigned mailing list