Bug 250689

Summary: WebKitGTK 2.39.4 does not build with GCC 13 due to missing #include in ANGLE
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: ANGLEAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, dino, kbr, kkinnunen, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Michael Catanzaro 2023-01-16 14:19:26 PST
In file included from /builddir/build/BUILD/webkitgtk-2.39.4/Source/ThirdParty/ANGLE/src/compiler/translator/Compiler.h:17,
                 from /builddir/build/BUILD/webkitgtk-2.39.4/Source/ThirdParty/ANGLE/src/compiler/translator/TranslatorESSL.h:10,
                 from /builddir/build/BUILD/webkitgtk-2.39.4/Source/ThirdParty/ANGLE/src/compiler/translator/TranslatorESSL.cpp:7:
/builddir/build/BUILD/webkitgtk-2.39.4/Source/ThirdParty/ANGLE/include/GLSLANG/ShaderVars.h:127:70: error: 'uint32_t' has not been declared
  127 |     const sh::ShaderVariable *findField(const std::string &fullName, uint32_t *fieldIndexOut) const;
      |                                                                      ^~~~~~~~

Just need to #include cstdint here. Help welcome with upstreaming the change.
Comment 1 Michael Catanzaro 2023-01-16 15:03:44 PST
Pull request: https://github.com/WebKit/WebKit/pull/8705
Comment 2 Michael Catanzaro 2023-01-16 15:07:18 PST
Upstream issue report: https://bugs.chromium.org/p/angleproject/issues/detail?id=7963
Comment 3 EWS 2023-01-16 16:56:49 PST
Committed 258968@main (d318bb461f04): <https://commits.webkit.org/258968@main>

Reviewed commits have been landed. Closing PR #8705 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-01-16 16:57:16 PST
<rdar://problem/104311773>