RESOLVED WONTFIX 106725
[EFL] Not to treat format warnings as a error
https://bugs.webkit.org/show_bug.cgi?id=106725
Summary [EFL] Not to treat format warnings as a error
KyungTae Kim
Reported 2013-01-11 20:06:53 PST
To fix the build error on a 64bit machine: Source/JavaScriptCore/dfg/DFGOperations.cpp: In function ‘void JSC::DFG::debugOperationPrintSpeculationFailure(JSC::ExecState*, void*, void*)’: Source/JavaScriptCore/dfg/DFGOperations.cpp:1643:41: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t {aka long unsigned int}’ [-Werror=format] It's because the uint64_t is "unsigned long long" for 32bit machine but "unsigned long" for 64bit machine. Some option need to be there, but for now, not to treat the format warning as error is needed.
Attachments
Patch for landing (1.24 KB, patch)
2013-01-11 20:11 PST, KyungTae Kim
no flags
KyungTae Kim
Comment 1 2013-01-11 20:11:26 PST
Created attachment 182457 [details] Patch for landing
KyungTae Kim
Comment 2 2013-01-13 16:32:13 PST
Close this because the error is fixed with another way - static_cast<long long>
Note You need to log in before you can comment on or make changes to this bug.