Add more -Wflags

This commit is contained in:
ArsenArsen 2017-11-09 22:00:33 +01:00 committed by Chris Marsh
parent ee9c504d1c
commit ca5d70a5f9

View file

@ -61,6 +61,9 @@ if(UNIX)
target_compile_options(discord-rpc PRIVATE target_compile_options(discord-rpc PRIVATE
-g -g
-Wall -Wall
-Wextra
-Wpedantic
-Werror
-Wno-unknown-pragmas # pragma push thing doesn't work on clang -Wno-unknown-pragmas # pragma push thing doesn't work on clang
-Wno-old-style-cast # it's fine -Wno-old-style-cast # it's fine
-Wno-c++98-compat # that was almost 2 decades ago -Wno-c++98-compat # that was almost 2 decades ago