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
|
# Build a static library
|
||||||
CONFIG += staticlib
|
CONFIG += staticlib
|
||||||
|
|
||||||
# Disable warnings
|
|
||||||
CONFIG += warn_off
|
|
||||||
|
|
||||||
# Include global qmake defs
|
# Include global qmake defs
|
||||||
include(../globaldefs.pri)
|
include(../globaldefs.pri)
|
||||||
|
|
||||||
|
|
@ -92,3 +89,8 @@ CONFIG(debug, debug|release) {
|
||||||
*-g++ {
|
*-g++ {
|
||||||
QMAKE_CFLAGS += -std=gnu99
|
QMAKE_CFLAGS += -std=gnu99
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Disable unused parameter warnings on GCC and Clang
|
||||||
|
*-g++|*-clang* {
|
||||||
|
QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue