Skip to content

Commit 971113d

Browse files
committed
[CMake] Remove redundant compilation flags
This change removes all unnecessary flags that are enabled by other flags like -Wall, -Wextra, -Wpedantic Signed-off-by: Krzysztof Filipek <krzysztof.filipek@intel.com>
1 parent 3f2d08b commit 971113d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/helpers.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,8 @@ function(add_umf_target_compile_options name)
233233
-Wall
234234
-Wextra
235235
-Wpedantic
236-
-Wempty-body
237-
-Wunused-parameter
238-
-Wformat
239236
-Wformat-security
240237
-Wcast-qual
241-
-Wunused-result
242238
$<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=auto>)
243239
if(CMAKE_BUILD_TYPE STREQUAL "Release")
244240
target_compile_definitions(${name} PRIVATE -D_FORTIFY_SOURCE=2)

0 commit comments

Comments
 (0)