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:
Cameron Gutman 2024-05-05 18:52:21 -05:00
parent 364093aef8
commit db4739b82d

View file

@ -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
}