mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 07:15:27 +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
@ -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…
x
Reference in New Issue
Block a user