Bug 248188 - [ANGLE] Constants.h uses size_t without declaring it
Summary: [ANGLE] Constants.h uses size_t without declaring it
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-21 12:43 PST by Michael Catanzaro
Modified: 2023-01-26 06:06 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2022-11-21 12:43:52 PST
I hit a build failure in Source/ThirdParty/ANGLE/src/libANGLE/Constants.h caused by missing declaration of size_t. According to https://en.cppreference.com/w/c/types/size_t, size_t is guaranteed to be declared in many headers, but stdint.h (already included in Constants.h) is confusingly not one of them. The nicest-looking options are stddef.h or stdlib.h. I've arbitrarily picked stddef.h.
Comment 1 Michael Catanzaro 2022-11-21 12:44:34 PST
Pull request: https://github.com/WebKit/WebKit/pull/6708
Comment 2 EWS 2022-11-22 18:17:41 PST
Committed 256962@main (43fa2c39050d): <https://commits.webkit.org/256962@main>

Reviewed commits have been landed. Closing PR #6708 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-11-22 18:18:17 PST
<rdar://problem/102615558>