From ed942f8c20a019096b94b4dab1bfb098faaffda2 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 20 Sep 2024 17:14:14 +0200 Subject: [PATCH] [warnings,c++] deactivate -Wexit-time-destructors This warning can be ignored as on all supported platforms memory, file and network resources are cleared up on program termination. --- cmake/CXXCompilerFlags.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/CXXCompilerFlags.cmake b/cmake/CXXCompilerFlags.cmake index 52411f328..cf27b642c 100644 --- a/cmake/CXXCompilerFlags.cmake +++ b/cmake/CXXCompilerFlags.cmake @@ -48,6 +48,7 @@ if (ENABLE_WARNING_VERBOSE) -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-pre-c++17-compat + -Wno-exit-time-destructors ) endif()