From 3baa45c32e48561d32cfc60325ca288c961e7285 Mon Sep 17 00:00:00 2001 From: Kasper Date: Fri, 2 May 2025 00:15:07 +0300 Subject: [PATCH] Do not use -WEverything for clang --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c146dd0..e7687ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,8 +58,8 @@ add_library(hiload SHARED # TODO: Get -Wpadded back by refactoring sc_array or just surround # all type sc_array declarations with the ignore pragma target_compile_options(hiload PRIVATE - $<$:-Wall -Wextra> - $<$:-Weverything> + $<$:-Wall -Wextra -Wpedantic> + $<$:-Wall -Wextra -Wpedantic> $<$:-Wno-declaration-after-statement -Wno-padded> )