Bug 253350 - TestFeatures.h:40:37: error: use of undeclared identifier 'uint32_t'
Summary: TestFeatures.h:40:37: error: use of undeclared identifier 'uint32_t'
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 15:31 PST by Michael Catanzaro
Modified: 2023-03-03 17:57 PST (History)
2 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 2023-03-03 15:31:11 PST
Build fails with GCC 13 due to missing #include <cstdint>:

In file included from /home/mcatanzaro/Projects/WebKit/Tools/TestRunnerShared/TestFeatures.cpp:27:
/home/mcatanzaro/Projects/WebKit/Tools/TestRunnerShared/TestFeatures.h:40:37: error: use of undeclared identifier 'uint32_t'
    std::unordered_map<std::string, uint32_t> uint32WebPreferenceFeatures;
                                    ^
/home/mcatanzaro/Projects/WebKit/Tools/TestRunnerShared/TestFeatures.h:56:32: error: unknown type name 'uint8_t'
enum class TestHeaderKeyType : uint8_t {
                               ^
2 errors generated.
Comment 1 Michael Catanzaro 2023-03-03 15:42:26 PST
Pull request: https://github.com/WebKit/WebKit/pull/11036
Comment 2 EWS 2023-03-03 17:56:53 PST
Committed 261196@main (d1b505231d0d): <https://commits.webkit.org/261196@main>

Reviewed commits have been landed. Closing PR #11036 and removing active labels.