From 6673d9ba674c5a9756c437a87a6f1307e49ff332 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Tue, 11 Aug 2015 07:49:25 +0000 Subject: 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 --- third_party/build/speex/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'third_party/build/speex/config.h') 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 /* -- cgit v1.2.3