From 585c305fe29946a419349353aaf484c4c24fec44 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 23 Mar 2021 12:10:48 +0000 Subject: [PATCH] cmake --- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58dfb43ca..b456380e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,11 +76,11 @@ elseif(CABLE_COMPILER_GNU) set(CMAKE_CXX_FLAGS_COVERAGE "--coverage") endif() -# -Wcast-qual -# -Wcast-align -# $<$:-Wold-style-cast> add_compile_options( + #-Wcast-qual + #-Wcast-align -Wmissing-declarations + $<$:-Wold-style-cast> $<$:-Wextra-semi> ) cable_add_cxx_compiler_flag_if_supported(-Wno-unknown-attributes) @@ -105,6 +105,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES Clang) -Wno-documentation -Wno-documentation-unknown-command -Wno-bad-function-cast + -Wno-exit-time-destructors ) endif() endif()