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

Fix build errors and warnings with LLVM-21

This commit is contained in:
Pāvels Nadtočajevs
2025-12-10 20:04:25 +02:00
parent d743736f84
commit 1682f6d4dd
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