Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreshilov <slovaricheg@gmail.com>2018-02-27 12:35:32 +0300
committerSergey Yershov <syershov@maps.me>2018-02-27 17:37:21 +0300
commit2a1a259af9e89b8d7765b1b59d19c29917986d97 (patch)
treedc4153443eab84c82a69d6d821c4491c1621229a /drape/hw_texture_ios.mm
parent2243e44377f7662f4bfb038f2036ab9743473958 (diff)
[boost] Fix clang build error on boost 1.64
- Fix iOS build - Review fixes
Diffstat (limited to 'drape/hw_texture_ios.mm')
-rw-r--r--drape/hw_texture_ios.mm9
1 files changed, 9 insertions, 0 deletions
diff --git a/drape/hw_texture_ios.mm b/drape/hw_texture_ios.mm
index f51430cf79..68ac455b97 100644
--- a/drape/hw_texture_ios.mm
+++ b/drape/hw_texture_ios.mm
@@ -11,8 +11,17 @@
#import <Foundation/NSValue.h>
#include <boost/integer_traits.hpp>
+
+/// @todo(greshilov): delete this hack for next boost version (>1.65.0)
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wc++11-narrowing"
+#endif
#include <boost/gil/algorithm.hpp>
#include <boost/gil/typedefs.hpp>
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
using boost::gil::gray8c_pixel_t;
using boost::gil::gray8_pixel_t;