diff options
Diffstat (limited to 'src')
-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 |