Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing warnings for libIGL related code on GCC and Clang #1722

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
- *Examples*
- Fix Issue #1675, add missing SymmetricConvexExpander.h file
(Jacques-Olivier Lachaud, [#1675](https://github.com/DGtal-team/DGtal/pull/1675))

- *Shapes*
- Removing libIGL warnings in WindingNumber classes (David Coeurjolly,
[#1722](https://github.com/DGtal-team/DGtal/pull/1722))

- *DEC*
- Fix an issue with the Geodesic in Heat Poisson solver (David Coeurjolly,
[#1712](https://github.com/DGtal-team/DGtal/pull/1712))
Expand Down
13 changes: 12 additions & 1 deletion src/DGtal/shapes/WindingNumbersShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,23 @@
#include <DGtal/base/Common.h>
#include <DGtal/base/CountedConstPtrOrConstPtr.h>
#include <DGtal/base/ConstAlias.h>

#include <DGtal/shapes/CEuclideanOrientedShape.h>


//Removing Warnings from libIGL for gcc and clang
#pragma GCC system_header // For GCC
#pragma clang system_header // For Clang

#include <igl/fast_winding_number.h>
#include <igl/octree.h>
#include <igl/knn.h>
#include <igl/copyleft/cgal/point_areas.h>

#pragma GCC diagnostic pop // For GCC
#pragma clang diagnostic pop // For Clang



namespace DGtal
{
/////////////////////////////////////////////////////////////////////////////
Expand Down
Loading