summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-23 08:46:37 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-23 08:46:37 +0300
commitf216d82052b8977080dc325d104ee66897b07c56 (patch)
tree9101516430965f375475977bbf3ec7e0094cf211 /src/utils/dumplibs.cpp
parent8969bd9f2617060740f18b078d909ba746bb45cf (diff)
downloadmanaverse-f216d82052b8977080dc325d104ee66897b07c56.tar.gz
manaverse-f216d82052b8977080dc325d104ee66897b07c56.tar.bz2
manaverse-f216d82052b8977080dc325d104ee66897b07c56.tar.xz
manaverse-f216d82052b8977080dc325d104ee66897b07c56.zip
Fix warnings in new clang5 builds.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-rw-r--r--src/utils/dumplibs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index d712f1245..57ce0c493 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -29,10 +29,14 @@ PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_image.h>
#include <SDL_mixer.h>
+
+PRAGMACLANG5(GCC diagnostic push)
+PRAGMACLANG5(GCC diagnostic ignored "-Wzero-as-null-pointer-constant")
PRAGMACLANG6GCC(GCC diagnostic push)
PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6GCC(GCC diagnostic pop)
+PRAGMACLANG5(GCC diagnostic pop)
#include <SDL_ttf.h>
PRAGMA48(GCC diagnostic pop)