[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation on debian sid
From: |
D Haley |
Subject: |
Compilation on debian sid |
Date: |
Wed, 15 Jul 2020 10:50:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Dear GSL,
I recently needed to modify my code to include a definition for size_t,
via #include <cstddef> as this was not available on a Debian Sid
builder, when using gsl_spmatrix.h [1].
I believe more recent versions of GCC have been reducing the header
scope, as this builds on Debian stable and testing without any
difficulties. I have not spun up a sid image to be able to do test this
locally, as this occurred within a cowbuilder environment.
diff --git a/src/backend/filters/spatialAnalysis.cpp
b/src/backend/filters/spatialAnalysis.cpp
index 2453cbe..91faebf 100644
--- a/src/backend/filters/spatialAnalysis.cpp
+++ b/src/backend/filters/spatialAnalysis.cpp
@@ -15,6 +15,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
+//GSL_spmatrix seems to be missing size_t definition
+#include <cstddef>
+
#include <gsl/gsl_sf_gamma.h>
#include <gsl/gsl_spmatrix.h>
[1]
https://salsa.debian.org/science-team/3depict/-/raw/master/debian/patches/patch_gsl_spmatrix_size_t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compilation on debian sid,
D Haley <=