[build] Remove #pragma diagnostic for boost

Boost is now included as a system header and the compiler
should ignore it when issuing warnings.
This commit is contained in:
Thiago Marcos P. Santos
2018-11-01 14:41:44 +02:00
parent bcbbc7e5f3
commit 7ff85374a7
6 changed files with 0 additions and 53 deletions

View File

@@ -1,16 +1,7 @@
#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 {