diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-02-03 17:06:32 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-04 11:54:01 +0100 |
commit | 3da75dd70605117ce90586371c199041c44e9c05 (patch) | |
tree | f1b9c52855b61e2bb9b904a652a0507eced99b18 /src/mbgl/storage | |
parent | b35857e4a93bc72bf8ed0f7b7c596697a78cdddc (diff) | |
download | qtlocation-mapboxgl-3da75dd70605117ce90586371c199041c44e9c05.tar.gz |
guard boost include with pragma ignores
Diffstat (limited to 'src/mbgl/storage')
-rw-r--r-- | src/mbgl/storage/default_file_source.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbgl/storage/default_file_source.cpp b/src/mbgl/storage/default_file_source.cpp index 18e21aee95..e40aaff649 100644 --- a/src/mbgl/storage/default_file_source.cpp +++ b/src/mbgl/storage/default_file_source.cpp @@ -10,7 +10,13 @@ #include <mbgl/util/variant.hpp> +#pragma GCC diagnostic push +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wshadow" +#endif #include <boost/algorithm/string.hpp> +#pragma GCC diagnostic pop #include <thread> #include <algorithm> |