From ca5d70a5f9b154b6e11f690009431beabcb6e421 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Thu, 9 Nov 2017 22:00:33 +0100 Subject: [PATCH] Add more -Wflags --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ec480a..9ba9742 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -61,6 +61,9 @@ if(UNIX) target_compile_options(discord-rpc PRIVATE -g -Wall + -Wextra + -Wpedantic + -Werror -Wno-unknown-pragmas # pragma push thing doesn't work on clang -Wno-old-style-cast # it's fine -Wno-c++98-compat # that was almost 2 decades ago