From 7af19f12b000e0d60d6d01c992d47866ecf7b779 Mon Sep 17 00:00:00 2001 From: David Coeurjolly Date: Wed, 8 May 2024 22:19:29 +0200 Subject: [PATCH] Removing warnings --- tests/shapes/testlibigl.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/shapes/testlibigl.cpp b/tests/shapes/testlibigl.cpp index 5f5e63f92a..39b76a215e 100644 --- a/tests/shapes/testlibigl.cpp +++ b/tests/shapes/testlibigl.cpp @@ -34,7 +34,16 @@ #include "DGtalCatch.h" #include "DGtal/helpers/StdDefs.h" +//Removing Warnings from libIGL for gcc and clang +#pragma GCC system_header // For GCC +#pragma clang system_header // For Clang + #include + +#pragma GCC diagnostic pop // For GCC +#pragma clang diagnostic pop // For Clang + + /////////////////////////////////////////////////////////////////////////////// using namespace std;