mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Suppress warnings in 3rd party codec builds
This patch disables all warnings in celt and opus builds. They were very noise and drowned out the warnings in our code to the point where no one even bothered looking at them. As we don't inspect those warnings and won't attempt to fix them anytime soon they are not useful to us. Added third-party-warnings qmake CONFIG option to optionally re-enable warnings for those (and in the future other) 3rd part builds.
This commit is contained in:
parent
46cb8a371b
commit
fac930b327
@ -13,8 +13,6 @@ VERSION=$$replace(VERSION,celt-,)
|
||||
TEMPLATE = lib
|
||||
CONFIG -= qt
|
||||
CONFIG += debug_and_release
|
||||
CONFIG -= warn_on
|
||||
CONFIG += warn_off
|
||||
CONFIG += no_include_pwd
|
||||
VPATH = ../$$SOURCEDIR/libcelt
|
||||
TARGET = celt0
|
||||
@ -27,6 +25,13 @@ CONFIG(static) {
|
||||
CONFIG += shared
|
||||
}
|
||||
|
||||
!CONFIG(third-party-warnings) {
|
||||
# We ignore warnings in third party builds. We won't actually look
|
||||
# at them and they clutter out our warnings.
|
||||
CONFIG -= warn_on
|
||||
CONFIG += warn_off
|
||||
}
|
||||
|
||||
QMAKE_CFLAGS -= -fPIE -pie
|
||||
|
||||
win32 {
|
||||
|
||||
@ -32,6 +32,13 @@ CONFIG(sbcelt) {
|
||||
}
|
||||
}
|
||||
|
||||
!CONFIG(third-party-warnings) {
|
||||
# We ignore warnings in third party builds. We won't actually look
|
||||
# at them and they clutter out our warnings.
|
||||
CONFIG -= warn_on
|
||||
CONFIG += warn_off
|
||||
}
|
||||
|
||||
QMAKE_CFLAGS -= -fPIE -pie
|
||||
|
||||
win32 {
|
||||
|
||||
9
3rdparty/opus-build/opus-build.pro
vendored
9
3rdparty/opus-build/opus-build.pro
vendored
@ -15,13 +15,18 @@ SOURCEDIR=$$replace(BUILDDIR,-build,-src)
|
||||
TEMPLATE = lib
|
||||
CONFIG -= qt
|
||||
CONFIG += debug_and_release
|
||||
#CONFIG -= warn_on
|
||||
#CONFIG += warn_off
|
||||
CONFIG += no_include_pwd
|
||||
VPATH = ../$$SOURCEDIR
|
||||
TARGET = opus
|
||||
DEFINES += HAVE_CONFIG_H
|
||||
|
||||
!CONFIG(third-party-warnings) {
|
||||
# We ignore warnings in third party builds. We won't actually look
|
||||
# at them and they clutter out our warnings.
|
||||
CONFIG -= warn_on
|
||||
CONFIG += warn_off
|
||||
}
|
||||
|
||||
QMAKE_CFLAGS -= -fPIE -pie
|
||||
|
||||
win32 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user