[CMAKE] Globally add -Wno-format (#8352)

We've talked about doing this, We thought about doing this,
we do it for half the modules when we sync them anyway.

Let's just do it.
This commit is contained in:
Justin Miller
2025-08-28 13:18:35 -07:00
committed by GitHub
parent 50d761b492
commit 47d6b3ae12

View File

@@ -184,12 +184,11 @@ add_compile_options(
-Wno-unused-local-typedefs
-Wno-deprecated
-Wno-unused-result # FIXME To be removed when CORE-17637 is resolved
-Wno-format
-Wno-maybe-uninitialized
)
if(ARCH STREQUAL "amd64")
add_compile_options(-Wno-format)
elseif(ARCH STREQUAL "arm")
if(ARCH STREQUAL "arm")
add_compile_options(-Wno-attributes)
endif()