From 6d25c01c5c8ef2e0d8f986f67c3c1b6660fddce5 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 28 Jan 2016 16:17:51 +0100 Subject: [PATCH] push warning in Partition_2 --- .../CGAL/Partition_2/partition_approx_convex_2.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h b/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h index 7c1181964d3..9c982c1e15a 100644 --- a/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h +++ b/Partition_2/include/CGAL/Partition_2/partition_approx_convex_2.h @@ -21,6 +21,12 @@ #ifndef CGAL_PARTITION_APPROX_CONVEX_H #define CGAL_PARTITION_APPROX_CONVEX_H +#include +#if (BOOST_GCC >= 40800) +_Pragma("GCC diagnostic push") +_Pragma("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +#endif + #include #include #include @@ -271,5 +277,7 @@ OutputIterator partition_approx_convex_2(InputIterator first, } } - +#if (BOOST_GCC >= 40800) + _Pragma("GCC diagnostic pop") +#endif #endif // CGAL_PARTITION_APPROX_CONVEX_H