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:
authorSergey Yershov <yershov@corp.mail.ru>2015-03-30 13:17:40 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:41:31 +0300
commit0ee7be1d6abf08a6b43dfccb432bb78e0d07decc (patch)
treea9d6d9ed2f9c96ad3a393983d7417c888cc10b3f /geometry/region2d
parent8c8dddf57145e435c8067f980fa28f75e0a5c76f (diff)
Fix warning in [geometry] and added pragmas for suppress warning in 3-rd party code
Diffstat (limited to 'geometry/region2d')
-rw-r--r--geometry/region2d/boost_concept.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/geometry/region2d/boost_concept.hpp b/geometry/region2d/boost_concept.hpp
index e217143702..f3a857e897 100644
--- a/geometry/region2d/boost_concept.hpp
+++ b/geometry/region2d/boost_concept.hpp
@@ -3,8 +3,16 @@
#include "../point2d.hpp"
#include "../region2d.hpp"
+#if defined(__clang__)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wshorten-64-to-32"
#include "../../3party/boost/boost/polygon/detail/polygon_sort_adaptor.hpp"
#include "../../3party/boost/boost/polygon/polygon.hpp"
+#pragma clang diagnostic pop
+#else
+#include "../../3party/boost/boost/polygon/detail/polygon_sort_adaptor.hpp"
+#include "../../3party/boost/boost/polygon/polygon.hpp"
+#endif
#include "../../std/vector.hpp"