[Webkit-unassigned] [Bug 191148] New: Build error with deprecated init function in MockLocalConnection.mm when unified sources rotate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 1 05:46:09 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=191148
Bug ID: 191148
Summary: Build error with deprecated init function in
MockLocalConnection.mm when unified sources rotate
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: cdumez at apple.com, jiewen_tan at apple.com,
lforschler at apple.com
Depends on: 189279
Blocks: 173833
When UIProcess/WebAuthentication/Mock/MockLocalConnection.mm is moved from the unified group
UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm
UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm
UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm
UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm
UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
UIProcess/WebAuthentication/Cocoa/LocalConnection.mm
UIProcess/WebAuthentication/Cocoa/LocalService.mm
to
UIProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm
UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm
UIProcess/ios/DragDropInteractionState.mm
UIProcess/ios/InputViewUpdateDeferrer.mm
UIProcess/ios/LayerRepresentation.mm
UIProcess/ios/PageClientImplIOS.mm
UIProcess/ios/ProcessAssertionIOS.mm
we obtain the following build error/warning on macOS:
/Users/fred/WebKit/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:66:70: error:
'init' is deprecated: first deprecated in macOS 10.12 - Use
initWithActivityType: with a specific activity type string
[-Werror,-Wdeprecated-declarations]
callback(UserConsent::Yes, adoptNS([allocLAContextInstance() ini...
^
In file included from /Users/fred/WebKit/WebKitBuild/Debug/DerivedSources/WebKit2/unified-sources/UnifiedSource30-mm.mm:1:
In file included from /Users/fred/WebKit/Source/WebKit/WebKit2Prefix.h:49:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:127:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:28:1: note:
'init' has been explicitly marked deprecated here
- (instancetype)init API_DEPRECATED("Use initWithActivityType: with a sp...
^
1 error generated.
Or on iOS:
In file included from /Users/fred/WebKit/WebKitBuild/Debug-iphonesimulator/DerivedSources/WebKit2/unified-sources/UnifiedSource30-mm.mm:1:
/Users/fred/WebKit/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:66:70: error:
'init' is deprecated: first deprecated in iOS 12.0 - Use
-initRequiringSecureCoding: instead [-Werror,-Wdeprecated-declarations]
callback(UserConsent::Yes, adoptNS([allocLAContextInstance() ini...
^
In file included from /Users/fred/WebKit/WebKitBuild/Debug-iphonesimulator/DerivedSources/WebKit2/unified-sources/UnifiedSource30-mm.mm:1:
In file included from /Users/fred/WebKit/Source/WebKit/WebKit2Prefix.h:49:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:48:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:63:1: note:
'init' has been explicitly marked deprecated here
- (instancetype)init API_DEPRECATED("Use -initRequiringSecureCoding: ins...
^
1 error generated.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=173833
[Bug 173833] [iOS] Adjust layer hierarchy to handle frame scrolling
https://bugs.webkit.org/show_bug.cgi?id=189279
[Bug 189279] [WebAuthN] Make AuthenticatorManager
--
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/20181101/a2237e05/attachment.html>
More information about the webkit-unassigned
mailing list