From 3a015a4263dc7eb2882ccc02ee8f1e878f29d524 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 3 Feb 2024 18:04:45 -0800 Subject: [PATCH] cmake: remove various warning suppressions Most of the have already been fixed. Signed-off-by: Rosen Penev --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54a1fcab..1af10d65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,12 +33,9 @@ if(DEV_MODE) message(STATUS "Using developer mode for ${CMAKE_CXX_COMPILER_ID}") set(CMAKE_CXX_EXTENSIONS OFF) add_cxx_flag_if_supported(-Wno-error=unused-command-line-argument - -Wall -Wno-comment -Wfatal-errors -fstack-protector-strong -Wnon-virtual-dtor -Wextra - -Wunused -Wpedantic -Woverloaded-virtual -Wshadow - -Wno-self-assign -Wno-mismatched-tags -Wno-inconsistent-missing-override - -Wno-potentially-evaluated-expression -Wno-extra-semi -Wno-gnu-zero-variadic-macro-arguments + -Wall -Wextra -Wpedantic -Wfatal-errors -fstack-protector-strong + -Wno-self-assign -Wcast-align) - add_cxx_flag_if_supported(-Qunused-arguments) endif() set(libebml_SOURCES