[Webkit-unassigned] [Bug 204873] New: [MSVC] writeNumberToBufferUnsigned is unsafe for bool type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 4 21:51:19 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204873
Bug ID: 204873
Summary: [MSVC] writeNumberToBufferUnsigned is unsafe for bool
type
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
[MSVC] writeNumberToBufferUnsigned is unsafe for bool type
MSVC reports warning for using / operator for bool type.
> warning C4804: '/': unsafe use of type 'bool' in operation
GCC and Clang doesn't report warnings for bool / 10.
https://godbolt.org/z/RjKz-m
See also Bug 204870.
--
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/20191205/334cefe0/attachment.htm>
More information about the webkit-unassigned
mailing list