mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-24 05:05:38 +01:00
Add more -Wflags
This commit is contained in:
parent
ee9c504d1c
commit
ca5d70a5f9
@ -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 New Issue
Block a user