From 167ef46dcb0fd18fa217a63436380cd1a7ef9fd7 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 25 Nov 2023 11:24:06 +0100 Subject: [PATCH] Add additional warning codes to thirdparty warning suppressor --- src/cmake/Macros.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cmake/Macros.cmake b/src/cmake/Macros.cmake index 01f7aad5..4cc1011a 100644 --- a/src/cmake/Macros.cmake +++ b/src/cmake/Macros.cmake @@ -140,6 +140,8 @@ macro( thirdparty_suppress_warnings ) /wd4152 # Function/data pointer conversion in expression. /wd4200 # Zero-sized array in union; SDL2 uses this for compiler compatibility. /wd4201 # Nameless struct/union. + /wd4204 # nonstandard extension used: non-constant aggregate initializer. + /wd4221 # nonstandard extension used: 'value': cannot be initialized using address of automatic variable 'symbol' /wd4244 # Type conversion truncation; protobuf has many, but this appears intentional. /wd4245 # 'return': conversion signed/unsigned mismatch /wd4267 # Type conversion truncation; protobuf has many, but this appears intentional.