Skip to content

Commit 329ad34

Browse files
committed
Fix missing braces warning
See bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
1 parent 847a81f commit 329ad34

File tree

2 files changed

+1525
-1525
lines changed

2 files changed

+1525
-1525
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ project(capstone
2828
if (CMAKE_C_COMPILER_ID MATCHES "MSVC")
2929
add_compile_options(/W1 /w14189 /w16268)
3030
else()
31-
add_compile_options(-Wno-missing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context)
31+
add_compile_options(-Wmissing-braces -Wunused-function -Warray-bounds -Wunused-variable -Wparentheses -Wint-in-bool-context)
3232
endif()
3333

3434
# to configure the options specify them in in the command line or change them in the cmake UI.

0 commit comments

Comments
 (0)