mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-26 17:07:49 +00:00
Add more -Wflags
This commit is contained in:
parent
ee9c504d1c
commit
ca5d70a5f9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue