Fix build warnings on GCC
Apperently boost has a few quirks on its headers.
This commit is contained in:
@@ -14,7 +14,14 @@
|
||||
#include <mbgl/platform/default/log_stderr.hpp>
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#ifndef __clang__
|
||||
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
#include <boost/program_options.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace po = boost::program_options;
|
||||
|
||||
#include <cassert>
|
||||
|
||||
Reference in New Issue
Block a user