diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/integrity_unittest.cc | 3 | ||||
-rw-r--r-- | src/utils/dumplibs_unittest.cc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index 73ee5cee3..0095f22ca 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -46,7 +46,10 @@ #include "utils/delete2.h" #ifdef USE_PHYSFS +PRAGMA45(GCC diagnostic push) +PRAGMA45(GCC diagnostic ignored "-Wlong-long") #include <physfs.h> +PRAGMA45(GCC diagnostic pop) #endif // USE_PHYSFS #include <SDL_image.h> diff --git a/src/utils/dumplibs_unittest.cc b/src/utils/dumplibs_unittest.cc index 20f89f7b7..4d0f55c7d 100644 --- a/src/utils/dumplibs_unittest.cc +++ b/src/utils/dumplibs_unittest.cc @@ -32,7 +32,10 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast") PRAGMACLANG6(GCC diagnostic pop) #include <SDL_ttf.h> #ifdef USE_PHYSFS +PRAGMA45(GCC diagnostic push) +PRAGMA45(GCC diagnostic ignored "-Wlong-long") #include <physfs.h> +PRAGMA45(GCC diagnostic pop) #endif // USE_PHYSFS #include <zlib.h> |