Summary: | Improper use of PLATFORM(TVOS) in PAL | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Conrad Shultz <conrad_shultz> | ||||
Component: | Platform | Assignee: | Conrad Shultz <conrad_shultz> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, conrad_shultz, darin, ews-watchlist, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Conrad Shultz
2019-03-01 09:45:09 PST
Created attachment 363339 [details]
Patch
Style checker will fail due to existing issues, but I don't think we should address those as part of this change. Attachment 363339 [details] did not pass style-queue:
ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSProgressSPI.h:28: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5]
ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:32: Incorrect OS version check. VERSION_MIN_REQUIRED values never include a minor version. You may be looking for a combination of VERSION_MIN_REQUIRED for target OS version check and VERSION_MAX_ALLOWED for SDK check. [build/version_check] [5]
ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:32: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5]
ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:34: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5]
Total errors found: 4 in 3 files
If any of these errors are false positives, please file a bug against check-webkit-style.
You probably don't have to, but this is a good opportunity to improve things. (In reply to Alexey Proskuryakov from comment #5) > You probably don't have to, but this is a good opportunity to improve things. I'd like to do these in separate commits, in the unlikely event that addressing the style issues introduces unexpected problems. Committed r242368: <https://trac.webkit.org/changeset/242368> |