Bug 248188
| Summary: | [ANGLE] Constants.h uses size_t without declaring it | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | ANGLE | Assignee: | 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 | ||
Michael Catanzaro
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/6708
EWS
Committed 256962@main (43fa2c39050d): <https://commits.webkit.org/256962@main>
Reviewed commits have been landed. Closing PR #6708 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/102615558>
Kimmo Kinnunen
https://bugs.chromium.org/p/angleproject/issues/detail?id=7976