Skip to content

Commit 47d6b3a

Browse files
authored
[CMAKE] Globally add -Wno-format (reactos#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.
1 parent 50d761b commit 47d6b3a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdk/cmake/gcc.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,11 @@ add_compile_options(
184184
-Wno-unused-local-typedefs
185185
-Wno-deprecated
186186
-Wno-unused-result # FIXME To be removed when CORE-17637 is resolved
187+
-Wno-format
187188
-Wno-maybe-uninitialized
188189
)
189190

190-
if(ARCH STREQUAL "amd64")
191-
add_compile_options(-Wno-format)
192-
elseif(ARCH STREQUAL "arm")
191+
if(ARCH STREQUAL "arm")
193192
add_compile_options(-Wno-attributes)
194193
endif()
195194

0 commit comments

Comments
 (0)