[Webkit-unassigned] [Bug 196343] New: Opcode.h(159, 27): warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 28 02:13:02 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=196343
Bug ID: 196343
Summary: Opcode.h(159,27): warning: adding 'unsigned int' to a
string does not append to the string
[-Wstring-plus-int]
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
Clang 8.0.0 reports the following compilation warning.
> [1229/6361] Building CXX object Source\JavaScriptCore\CMakeFiles\LLIntOffsetsExtractor.dir\llint\LLIntOffsetsExtractor.cpp.obj
> In file included from ..\..\Source\JavaScriptCore\llint\LLIntOffsetsExtractor.cpp:31:
> In file included from DerivedSources\JavaScriptCore\BytecodeStructs.h:32:
> In file included from ..\..\Source\JavaScriptCore\bytecode\BytecodeDumper.h:29:
> In file included from ..\..\Source\JavaScriptCore\bytecode/CallLinkInfo.h:31:
> In file included from ..\..\Source\JavaScriptCore\jit\PolymorphicCallStubRoutine.h:30:
> In file included from ..\..\Source\JavaScriptCore\bytecode\CallEdge.h:28:
> In file included from ..\..\Source\JavaScriptCore\bytecode/CallVariant.h:28:
> In file included from ..\..\Source\JavaScriptCore\runtime\ExecutableBaseInlines.h:28:
> In file included from ..\..\Source\JavaScriptCore\runtime/ExecutableBase.h:34:
> In file included from ..\..\Source\JavaScriptCore\bytecode\UnlinkedCodeBlock.h:34:
> In file included from ..\..\Source\JavaScriptCore\bytecode/InstructionStream.h:29:
> In file included from ..\..\Source\JavaScriptCore\bytecode/Instruction.h:28:
> ..\..\Source\JavaScriptCore\bytecode/Opcode.h(159,27): warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int]
> return PADDING_STRING + PADDING_STRING_LENGTH - pad;
> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> ..\..\Source\JavaScriptCore\bytecode/Opcode.h(159,27): note: use array indexing to silence this warning
> return PADDING_STRING + PADDING_STRING_LENGTH - pad;
> ^
> & [ ]
> 1 warning generated.
> clang version 8.0.0 (tags/RELEASE_800/final)
> Target: x86_64-pc-windows-msvc
> Thread model: posix
--
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/20190328/ed7a0ba4/attachment.html>
More information about the webkit-unassigned
mailing list