summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-20 01:43:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-20 01:43:28 +0300
commit8e7bb25493113cf0ac550acac4634a08f8182cb8 (patch)
treebb506e8a39bdafa271d1d1732f131e88aa2ebba2 /src/localconsts.h
parent41959b08b3e44e00e7a388451142ee7934f05d2b (diff)
downloadmanaplus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.gz
manaplus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.bz2
manaplus-8e7bb25493113cf0ac550acac4634a08f8182cb8.tar.xz
manaplus-8e7bb25493113cf0ac550acac4634a08f8182cb8.zip
Add some warnings ignores in mumblemanager for gcc 8+.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h6
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