getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: Fix incompatibi


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix incompatibility with older versions of the qhull header files
Date: Tue, 24 Jan 2023 18:17:43 -0500

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new fc7187f3 Fix incompatibility with older versions of the qhull header 
files
fc7187f3 is described below

commit fc7187f3947075068d2679bd6ef89d837768ff88
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Wed Jan 25 00:17:21 2023 +0100

    Fix incompatibility with older versions of the qhull header files
---
 src/bgeot_convex_ref.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bgeot_convex_ref.cc b/src/bgeot_convex_ref.cc
index 8047203c..5bf6f581 100644
--- a/src/bgeot_convex_ref.cc
+++ b/src/bgeot_convex_ref.cc
@@ -38,7 +38,9 @@ namespace bgeot {
   }
 # else
 
+  extern "C" { // old versions of this header lack a __cplusplus guard
 # include <libqhull_r/qhull_ra.h>
+  }
   
   void qhull_delaunay(const std::vector<base_node> &pts,
                      gmm::dense_matrix<size_type>& simplexes) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]