From 91c410c91833c3c4a466ab1ff6ca8ba74c0529cf Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Fri, 21 Oct 2022 02:34:05 -0400 Subject: [PATCH] CMakeLists: Consolidate all unused warnings into -Wunused --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3b4862737..f774c2791 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -110,13 +110,13 @@ else() -Werror=sign-compare -Werror=switch -Werror=uninitialized - -Werror=unused-function - -Werror=unused-result - -Werror=unused-variable + -Werror=unused -Wno-attributes -Wno-invalid-offsetof -Wno-unused-parameter + + $<$:-Wno-unused-private-field> ) if (ARCHITECTURE_x86_64)