Merge pull request #4194 from mathisloge/warning-fix

fix warning for unknown compiler
This commit is contained in:
Artem Pavlenko 2020-12-17 15:49:46 +00:00 committed by GitHub
commit c8b8b5c1d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,8 +91,8 @@
#define MAPNIK_DISABLE_UNUSED_VARIABLE MAPNIK_DISABLE_WARNING(-Wunused-variable) #define MAPNIK_DISABLE_UNUSED_VARIABLE MAPNIK_DISABLE_WARNING(-Wunused-variable)
#define MAPNIK_DISABLE_MISMATCHED_TAGS MAPNIK_DISABLE_WARNING(-Wmismatched-tags) #define MAPNIK_DISABLE_MISMATCHED_TAGS MAPNIK_DISABLE_WARNING(-Wmismatched-tags)
#else #else
#define MAPNIK_MAPNIK_DISABLE_WARNING_PUSH #define MAPNIK_DISABLE_WARNING_PUSH
#define MAPNIK_MAPNIK_DISABLE_WARNING_POP #define MAPNIK_DISABLE_WARNING_POP
// add all of the above warnings here (will be used if unknown compiler) // add all of the above warnings here (will be used if unknown compiler)
#define MAPNIK_DISABLE_WARNING_UNKNOWN_PRAGMAS #define MAPNIK_DISABLE_WARNING_UNKNOWN_PRAGMAS
#define MAPNIK_DISABLE_WARNING_PRAGMAS #define MAPNIK_DISABLE_WARNING_PRAGMAS