Skip to content

Commit

Permalink
Remove warn_off configuration for moonlight-common-c subproject
Browse files Browse the repository at this point in the history
We can just turn off unused parameter warnings instead of all warnings.
  • Loading branch information
cgutman committed May 5, 2024
1 parent 364093a commit db4739b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions moonlight-common-c/moonlight-common-c.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ TEMPLATE = lib
# Build a static library
CONFIG += staticlib

# Disable warnings
CONFIG += warn_off

# Include global qmake defs
include(../globaldefs.pri)

Expand Down Expand Up @@ -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
}

0 comments on commit db4739b

Please sign in to comment.