[Webkit-unassigned] [Bug 191917] New: [Cocoa] clang emits a warning when building WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 22 18:57:41 PST 2018


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

            Bug ID: 191917
           Summary: [Cocoa] clang emits a warning when building WebKit
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com

This is the warning:

CompileC WKShareSheet.o
Ld WebKit
ld: warning: instance method 'isSafeBrowsingEnabled' in category from /Users/whsieh/Build/WebKit.build/Release-iphoneos/WebKit.build/Objects-normal/arm64e/UnifiedSource17-mm.o overrides method from class in /Users/whsieh/Build/WebKit.build/Release-iphoneos/WebKit.build/Objects-normal/arm64e/UnifiedSource17-mm.o
ld: warning: instance method 'setSafeBrowsingEnabled:' in category from /Users/whsieh/Build/WebKit.build/Release-iphoneos/WebKit.build/Objects-normal/arm64e/UnifiedSource17-mm.o overrides method from class in /Users/whsieh/Build/WebKit.build/Release-iphoneos/WebKit.build/Objects-normal/arm64e/UnifiedSource17-mm.o
PhaseScriptExecution Check For Weak VTables and Externals
PhaseScriptExecution Check For Inappropriate Objective-C Class Names

...it looks like both -setSafeBrowsingEnabled: and -isSafeBrowsingEnabled are implemented in the WKPrivate category, but should instead be implemented in the main category.

-- 
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/20181123/b3495755/attachment.html>


More information about the webkit-unassigned mailing list