[build] GCC 7+ complains about -Wimplicit-fallthrough in utf.cpp
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
#include <mbgl/util/utf.hpp>
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 7
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
|
||||
#endif // defined(__GNUC__) && __GNUC__ >= 7
|
||||
|
||||
#include <boost/locale/encoding_utf.hpp>
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 7
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // defined(__GNUC__) && __GNUC__ >= 7
|
||||
|
||||
namespace mbgl {
|
||||
namespace util {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user