Meta: Remove incorrect warning suppresion on win32

This warning being suppressed hid an issue which led to undefined
behavior.
This commit is contained in:
R-Goc
2025-12-31 01:39:23 +01:00
committed by Shannon Booth
parent 15cb3e872e
commit c8b30f5bb8

View File

@@ -70,7 +70,6 @@ endif()
# FIXME: Rework these flags to remove the suspicious ones.
if (WIN32)
add_compile_options(-Wno-reinterpret-base-class)
add_compile_options(-Wno-microsoft-unqualified-friend) # MSVC doesn't support unqualified friends
add_compile_definitions(_CRT_SECURE_NO_WARNINGS) # _s replacements not desired (or implemented on any other platform other than VxWorks)
add_compile_definitions(_CRT_NONSTDC_NO_WARNINGS) # POSIX names are just fine, thanks