summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-06 13:40:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 01:47:51 +0300
commita9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269 (patch)
tree2df0221d899f2d362ca1bef2527d29e47430eb72
parentf0e8c6b9c23566d52e069d544baf41eccbd14b55 (diff)
downloadmanaverse-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.gz
manaverse-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.bz2
manaverse-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.xz
manaverse-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.zip
Ignore warning -Wlong-long in physfs.
-rw-r--r--src/utils/dumplibs.cpp3
-rw-r--r--src/utils/physfstools.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index c433872ab..6b99cd088 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -31,7 +31,10 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wlong-long"
#include <physfs.h>
+#pragma GCC diagnostic pop
#include <zlib.h>
#include <curl/curl.h>
diff --git a/src/utils/physfstools.h b/src/utils/physfstools.h
index dd91f18b1..f65b9c344 100644
--- a/src/utils/physfstools.h
+++ b/src/utils/physfstools.h
@@ -21,7 +21,11 @@
#ifndef UTILS_PHYSFSTOOLS_H
#define UTILS_PHYSFSTOOLS_H
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wlong-long"
#include <physfs.h>
+#pragma GCC diagnostic pop
+
#include <string>
namespace PhysFs