diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-06 13:40:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-07 01:47:51 +0300 |
commit | a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269 (patch) | |
tree | 2df0221d899f2d362ca1bef2527d29e47430eb72 /src/utils | |
parent | f0e8c6b9c23566d52e069d544baf41eccbd14b55 (diff) | |
download | plus-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.gz plus-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.bz2 plus-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.tar.xz plus-a9c4c5fa1e7a547cf5c1dfb2152f412fd85b1269.zip |
Ignore warning -Wlong-long in physfs.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/dumplibs.cpp | 3 | ||||
-rw-r--r-- | src/utils/physfstools.h | 4 |
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 |