Skip to content

Commit ed51ac9

Browse files
committed
redo “Disable annoying maybe-uninitialized GCC warning” (6f5e7e1)
1 parent f4f7f8e commit ed51ac9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎cmake/NaClFlags.cmake‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,7 @@ endif()
334334
if (YOKAI_TARGET_ARCH_I686)
335335
set_compiler_flag("-msse2")
336336
endif()
337+
338+
if (YOKAI_CXX_COMPILER_GCC_COMPATIBILITY AND NOT YOKAI_CXX_COMPILER_CLANG_COMPATIBILITY)
339+
set_compiler_flag("-Wno-maybe-uninitialized")
340+
endif()

0 commit comments

Comments
 (0)