]> https://gitweb.dealii.org/ - dealii.git/commitdiff
deal.II/cgal/utilities.h: silence a bogus warning with gcc-13
authorMatthias Maier <maier@tamu.edu>
Thu, 22 Jun 2023 07:12:32 +0000 (02:12 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 22 Jun 2023 07:14:05 +0000 (02:14 -0500)
include/deal.II/cgal/utilities.h

index a8159db026e23098998ab0fea872124d1c872df2..35416f56aa2014a6bdfe13969cdca3d3a0533aa9 100644 (file)
 #  include <CGAL/Mesh_complex_3_in_triangulation_3.h>
 #  include <CGAL/Mesh_criteria_3.h>
 #  include <CGAL/Mesh_triangulation_3.h>
+// Disable a warnung that we get with gcc-13 about a potential unitialized
+// usage of an <anonymous> lambda function in this external CGAL header.
+DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <CGAL/Polygon_mesh_processing/corefinement.h>
+DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 #  include <CGAL/Polygon_mesh_processing/measure.h>
 #  include <CGAL/Polygon_mesh_processing/remesh.h>
 #  include <CGAL/Polygon_mesh_processing/triangulate_faces.h>

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.