[Webkit-unassigned] [Bug 197087] New: narrowing errors with clang-8.0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 18 18:43:03 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197087
Bug ID: 197087
Summary: narrowing errors with clang-8.0
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: raj.khem at gmail.com
Following error is reported by clang on arm
In file included from DerivedSources/WebCore/unified-sources/UnifiedSource-5037b3e8-3.cpp:2:
/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/WebCore/contentextensions/NFAToDFA.cpp:352:43: error: non-constant-expression cannot be narrowed from type 'char' to 'signed char' in initializer list [-Wc++11-narrowing]
dfa.transitionRanges.append({ range.first, range.last });
^~~~~~~~~~~
/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/WebCore/contentextensions/NFAToDFA.cpp:352:43: note: insert an explicit cast to silence this issue
dfa.transitionRanges.append({ range.first, range.last });
^~~~~~~~~~~
static_cast<signed char>( )
/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/WebCore/contentextensions/NFAToDFA.cpp:352:56: error: non-constant-expression cannot be narrowed from type 'char' to 'signed char' in initializer list [-Wc++11-narrowing]
dfa.transitionRanges.append({ range.first, range.last });
^~~~~~~~~~
/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/WebCore/contentextensions/NFAToDFA.cpp:352:56: note: insert an explicit cast to silence this issue
dfa.transitionRanges.append({ range.first, range.last });
^~~~~~~~~~
static_cast<signed char>( )
2 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/20190419/009c2bd6/attachment.html>
More information about the webkit-unassigned
mailing list