mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Remove warn_off configuration for moonlight-common-c subproject
We can just turn off unused parameter warnings instead of all warnings.
This commit is contained in:
parent
364093aef8
commit
db4739b82d
1 changed files with 5 additions and 3 deletions
|
@ -12,9 +12,6 @@ TEMPLATE = lib
|
|||
# Build a static library
|
||||
CONFIG += staticlib
|
||||
|
||||
# Disable warnings
|
||||
CONFIG += warn_off
|
||||
|
||||
# Include global qmake defs
|
||||
include(../globaldefs.pri)
|
||||
|
||||
|
@ -92,3 +89,8 @@ CONFIG(debug, debug|release) {
|
|||
*-g++ {
|
||||
QMAKE_CFLAGS += -std=gnu99
|
||||
}
|
||||
|
||||
# Disable unused parameter warnings on GCC and Clang
|
||||
*-g++|*-clang* {
|
||||
QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue