From 22809e928bc4b1a4785801d6a9acebb884629e61 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Thu, 14 Dec 2023 23:25:34 -0600 Subject: [PATCH] Fix MSVC C++ warnings --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d21f1f137..c139d5d64 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -428,6 +428,7 @@ target_compile_options(SRB2SDL2 PRIVATE -Wno-trigraphs -W # Was controlled by RELAXWARNINGS -pedantic + -Wpedantic -Wfloat-equal -Wundef -Wpointer-arith @@ -527,7 +528,7 @@ target_compile_options(SRB2SDL2 PRIVATE > # C++, MSVC - $<$,$>: + $<$,$>: /Wv:19.20.27004.0 >