]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress warning in python-bindings
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 24 Nov 2019 14:58:51 +0000 (09:58 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sun, 24 Nov 2019 14:58:51 +0000 (09:58 -0500)
contrib/python-bindings/source/export_point.cc

index a790c03d96ed9b3ec71940543a1241db6bebe23d..029091abf46ee6aafe249bf1202687b48d9d9dc7 100644 (file)
 
 #include <point_wrapper.h>
 
+#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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.