diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-20 01:43:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-20 01:43:28 +0300 |
commit | 8e7bb25493113cf0ac550acac4634a08f8182cb8 (patch) | |
tree | bb506e8a39bdafa271d1d1732f131e88aa2ebba2 /src/localconsts.h | |
parent | 41959b08b3e44e00e7a388451142ee7934f05d2b (diff) | |
download | plus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.gz plus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.bz2 plus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.xz plus-8e7bb25493113cf0ac550acac4634a08f8182cb8.zip |
Add some warnings ignores in mumblemanager for gcc 8+.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |