From 8e7bb25493113cf0ac550acac4634a08f8182cb8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 20 Jun 2017 01:43:28 +0300 Subject: Add some warnings ignores in mumblemanager for gcc 8+. --- src/localconsts.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localconsts.h') diff --git a/src/localconsts.h b/src/localconsts.h index 843e694da..ba2905113 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -192,6 +192,12 @@ #define const2 const +#if GCC_VERSION >= 80000 +#define PRAGMA8(str) _Pragma(#str) +#else // GCC_VERSION > 80000 +#define PRAGMA8(str) +#endif // GCC_VERSION > 80000 + #if GCC_VERSION >= 60000 #define PRAGMA6(str) _Pragma(#str) #else // GCC_VERSION > 60000 -- cgit v1.2.3-60-g2f50