[Webkit-unassigned] [Bug 195876] New: [WPE][GTK] Fix a build warning because of missing to handle an enum value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 18 01:11:21 PDT 2019


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

            Bug ID: 195876
           Summary: [WPE][GTK] Fix a build warning because of missing to
                    handle an enum value
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gyuyoung.kim at webkit.org
                CC: bugs-noreply at webkitgtk.org

When building WPE or GTK port, there is a build warning. I think that the warning has caused by missing to handle an enum value in the switch ~ case.


[3540/4386] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-767013ce-18.cpp.o
In file included from /home/gyuyoung/LGE/starfish/webkit/WebKit/WebKitBuild/Debug/DerivedSources/WebCore/unified-sources/UnifiedSource-767013ce-18.cpp:4:0:
../../Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp: In member function ‘virtual WTF::Ref<WebCore::ScrollingTreeNode> WebCore::ScrollingTreeNicosia::createScrollingTreeNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID)’:
../../Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp:52:12: warning: enumeration value ‘Positioned’ not handled in switch [-Wswitch]
     switch (nodeType) {
            ^

-- 
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/20190318/8fbea0cf/attachment.html>


More information about the webkit-unassigned mailing list