From: Daniel Arndt Date: Sun, 24 Nov 2019 14:58:51 +0000 (-0500) Subject: Suppress warning in python-bindings X-Git-Tag: v9.2.0-rc1~845^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ef2f03e94e398706796f2f510758f7ee8a1b3a6;p=dealii.git Suppress warning in python-bindings --- 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