Skip to content

Commit fba8d9b

Browse files
committed
Ignore warnings from poly2tri
It's just UTF-8 in a comment! clang -Wpedantic is too pedantic.
1 parent e635b55 commit fba8d9b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/mesh/poly2tri_triangulator.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
#include "libmesh/utility.h"
3636

3737
// poly2tri includes
38+
#include "libmesh/ignore_warnings.h" // utf-8 comments should be fine...
3839
#include "poly2tri/poly2tri.h"
40+
#include "libmesh/restore_warnings.h"
3941

4042
// Anonymous namespace - poly2tri doesn't define operator<(Point,Point)
4143
namespace

tests/mesh/libmesh_poly2tri.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#include "libmesh_cppunit.h"
33

44
#ifdef LIBMESH_HAVE_POLY2TRI
5+
# include "libmesh/ignore_warnings.h" // utf-8 comments should be fine...
56
# include "poly2tri/poly2tri.h"
7+
# include "libmesh/restore_warnings.h"
68
#endif
79

810
#include <numeric>

0 commit comments

Comments
 (0)