File tree Expand file tree Collapse file tree 6 files changed +7
-4
lines changed Expand file tree Collapse file tree 6 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang"
104
104
# Enable more warnings if not doing a release build.
105
105
add_cxx_flag_if_supported (-Wall )
106
106
endif ()
107
- add_cxx_flag_if_supported (-Wno-format )
108
107
add_cxx_flag_if_supported (-Wno-error=cpp ) # Allow #warning directive
109
108
add_cxx_flag_if_supported (-Wno-unknown-pragmas ) # Issue #785
110
109
add_cxx_flag_if_supported (-Wno-error=asm-operand-widths ) # Issue #784
Original file line number Diff line number Diff line change @@ -71,6 +71,6 @@ if(APPLE)
71
71
list (APPEND ${MODULE_NAME} _SOURCES test_queue_priority.cpp )
72
72
endif (APPLE )
73
73
74
- set_gnulike_module_compile_flags ("-Wno-sign-compare" )
74
+ set_gnulike_module_compile_flags ("-Wno-sign-compare -Wno-format " )
75
75
76
76
include (../CMakeCommon.txt )
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ set(${MODULE_NAME}_SOURCES
7
7
test_atomics.cpp
8
8
)
9
9
10
- set_gnulike_module_compile_flags ("-Wno-sign-compare" )
10
+ set_gnulike_module_compile_flags ("-Wno-sign-compare -Wno-format " )
11
11
12
12
include (../CMakeCommon.txt )
Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ set(${MODULE_NAME}_SOURCES
10
10
test_binary_fn.cpp
11
11
)
12
12
13
+ set_gnulike_module_compile_flags ("-Wno-format" )
14
+
13
15
include (../CMakeCommon.txt )
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ if("${CLConform_TARGET_ARCH}" STREQUAL "ARM" OR "${CLConform_TARGET_ARCH}" STREQ
12
12
list (APPEND ${MODULE_NAME} _SOURCES fplib.cpp )
13
13
endif ()
14
14
15
- set_gnulike_module_compile_flags ("-Wno-sign-compare" )
15
+ set_gnulike_module_compile_flags ("-Wno-sign-compare -Wno-format " )
16
16
17
17
include (../CMakeCommon.txt )
Original file line number Diff line number Diff line change @@ -7,5 +7,7 @@ set(${MODULE_NAME}_SOURCES
7
7
test_shuffles.cpp
8
8
)
9
9
10
+ set_gnulike_module_compile_flags ("-Wno-format" )
11
+
10
12
include (../CMakeCommon.txt )
11
13
You can’t perform that action at this time.
0 commit comments