From 9ef2f03e94e398706796f2f510758f7ee8a1b3a6 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 24 Nov 2019 09:58:51 -0500 Subject: [PATCH] Suppress warning in python-bindings --- contrib/python-bindings/source/export_point.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/python-bindings/source/export_point.cc b/contrib/python-bindings/source/export_point.cc index a790c03d96..029091abf4 100644 --- a/contrib/python-bindings/source/export_point.cc +++ b/contrib/python-bindings/source/export_point.cc @@ -20,6 +20,11 @@ #include +#ifdef __clang__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wself-assign-overloaded" +#endif + DEAL_II_NAMESPACE_OPEN namespace python @@ -99,3 +104,7 @@ namespace python } // namespace python DEAL_II_NAMESPACE_CLOSE + +#ifdef __clang__ +# pragma GCC diagnostic pop +#endif -- 2.39.5