Bug 248188

Summary: [ANGLE] Constants.h uses size_t without declaring it
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: ANGLEAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

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>