Bug 214253

Summary: Building RenderThemeMac.mm with the macOS Big Sur public SDK fails
Product: WebKit Reporter: Rob Buis <rbuis>
Component: New BugsAssignee: Rob Buis <rbuis>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: benjamin, cdumez, changseok, cmarcelo, esprehn+autocc, ews-watchlist, glenn, jbedard, kondapallykalyan, pdr
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=214396
Bug Depends on:    
Bug Blocks: 214043    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Rob Buis
Reported 2020-07-13 05:10:44 PDT
Build errors: ./rendering/RenderThemeMac.mm:2732:27: error: class method '+_imageWithSystemSymbolName:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] auto image = [NSImage _imageWithSystemSymbolName:@"arrow.down.circle"]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./rendering/RenderThemeMac.mm:2732:5: error: 'auto' deduced as 'id' in declaration of 'image' [-Werror,-Wauto-var-id] auto image = [NSImage _imageWithSystemSymbolName:@"arrow.down.circle"]; ^~~~~~~~~~ ./rendering/RenderThemeMac.mm:2738:9: error: use of undeclared identifier 'NSImageHintSymbolFont' NSImageHintSymbolFont : [NSFont systemFontOfSize:32], ^ ./rendering/RenderThemeMac.mm:2739:9: error: use of undeclared identifier 'NSImageHintSymbolScale' NSImageHintSymbolScale : @(NSImageSymbolScaleMedium) ^ ./rendering/RenderThemeMac.mm:2739:36: error: use of undeclared identifier 'NSImageSymbolScaleMedium' NSImageHintSymbolScale : @(NSImageSymbolScaleMedium) ^ 5 errors generated.
Attachments
Patch (2.63 KB, patch)
2020-07-13 05:47 PDT, Rob Buis
no flags
Patch (3.13 KB, patch)
2020-07-13 05:51 PDT, Rob Buis
no flags
Patch (2.66 KB, patch)
2020-07-13 08:30 PDT, Rob Buis
no flags
Patch (2.67 KB, patch)
2020-07-13 09:03 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2020-07-13 05:47:21 PDT
Rob Buis
Comment 2 2020-07-13 05:51:51 PDT
Rob Buis
Comment 3 2020-07-13 08:30:57 PDT
Rob Buis
Comment 4 2020-07-13 09:03:33 PDT
Jonathan Bedard
Comment 5 2020-07-15 22:26:25 PDT
Linked this up to https://bugs.webkit.org/show_bug.cgi?id=214396, which should be enough to get WebKit to build for Big Sur with the Seed 1 SDK.
Rob Buis
Comment 6 2020-07-16 00:26:11 PDT
Looks like https://bugs.webkit.org/show_bug.cgi?id=214396 will fix this, closing this one, thanks! *** This bug has been marked as a duplicate of bug 214396 ***
Note You need to log in before you can comment on or make changes to this bug.