diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2015-06-05 17:24:33 +0300 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2015-07-04 16:12:49 +0300 |
commit | fac930b32773f754cfceb6430fd6f9f7dbf7de5d (patch) | |
tree | ced708907e302092886fc12826cf77fe499538ae /3rdparty/celt-0.7.0-build | |
parent | 46cb8a371b1be08e013ed25e41cbf871c347f946 (diff) |
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.
Diffstat (limited to '3rdparty/celt-0.7.0-build')
-rw-r--r-- | 3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro b/3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro index 4001eaf22..e7fd20080 100644 --- a/3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro +++ b/3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro @@ -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 { |