summaryrefslogtreecommitdiff
path: root/third_party/build/speex
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2015-08-11 07:49:25 +0000
committerNanang Izzuddin <nanang@teluu.com>2015-08-11 07:49:25 +0000
commit6673d9ba674c5a9756c437a87a6f1307e49ff332 (patch)
tree9befe006e1f4ce787fe320a28e80112d35df3271 /third_party/build/speex
parentcb4f89c389cd1065d4b46029aa5787aebf03a575 (diff)
Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5158 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/build/speex')
-rw-r--r--third_party/build/speex/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/build/speex/config.h b/third_party/build/speex/config.h
index be19e733..22a45f86 100644
--- a/third_party/build/speex/config.h
+++ b/third_party/build/speex/config.h
@@ -29,6 +29,11 @@
//# pragma warning(disable: 4701) // local variable used without initialized
#endif
+#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 402
+# pragma GCC diagnostic ignored "-Wunknown-pragmas"
+# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
+
#include <pj/log.h>
/*