From 8baef57ca30bb27ad8004f7ee39b3c59cd410619 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 31 Mar 2024 15:31:17 +0200 Subject: [PATCH] Suppress w4295 for thirdparty DirtySDK uses non-null terminated strings for lookup tables. --- r5dev/cmake/Macros.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/r5dev/cmake/Macros.cmake b/r5dev/cmake/Macros.cmake index c4e70460..0f395b36 100644 --- a/r5dev/cmake/Macros.cmake +++ b/r5dev/cmake/Macros.cmake @@ -141,6 +141,7 @@ macro( thirdparty_suppress_warnings ) /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. + /wd4295 # Array is too small to include terminating null character. /wd4307 # Integral constant overflow. /wd4389 # Signed/unsigned mismatch. /wd4456 # Declaration hides previous local declaration.