1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-30 18:30:54 +00:00

Merge pull request #113857 from bruvzg/llvm21

Fix build errors and warnings with LLVM-21
This commit is contained in:
Thaddeus Crews
2025-12-10 18:10:39 -06:00
4 changed files with 16 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ using namespace godot;
// Thirdparty headers.
GODOT_GCC_WARNING_PUSH_AND_IGNORE("-Wshadow")
#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || __clang_major__ >= 21
GODOT_CLANG_WARNING_PUSH_AND_IGNORE("-Wunnecessary-virtual-specifier")
#endif
@@ -113,7 +113,7 @@ GODOT_CLANG_WARNING_PUSH_AND_IGNORE("-Wunnecessary-virtual-specifier")
#include <unicode/utypes.h>
GODOT_GCC_WARNING_POP
#ifdef __EMSCRIPTEN__
#if defined(__EMSCRIPTEN__) || __clang_major__ >= 21
GODOT_CLANG_WARNING_POP
#endif