diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/render.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/render.cpp b/bin/render.cpp index 3da0c93586..2248d86035 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -9,13 +9,17 @@ #include <mbgl/storage/default_file_source.hpp> #include <mbgl/storage/sqlite_cache.hpp> +#pragma clang diagnostic push #pragma GCC diagnostic push -#ifndef __clang__ +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wunused-local-typedefs" +#else #pragma GCC diagnostic ignored "-Wunused-local-typedefs" #pragma GCC diagnostic ignored "-Wshadow" #endif #include <boost/program_options.hpp> #pragma GCC diagnostic pop +#pragma clang diagnostic pop namespace po = boost::program_options; |