CMake: Remove warning suppression for unknown attributes

We should take care of these with macros or other means instead of
suppressing them.
This commit is contained in:
Andrew Kaster 2025-04-14 16:18:16 -06:00 committed by Andrew Kaster
parent 5e7e6475c6
commit 7d797b2c32
Notes: github-actions[bot] 2025-04-15 08:20:00 +00:00

View file

@ -49,7 +49,6 @@ endmacro()
# FIXME: Rework these flags to remove the suspicious ones.
if (WIN32)
add_compile_options(-Wno-unknown-attributes) # [[no_unique_address]] is broken in MSVC ABI until next ABI break
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)