no ANYARG in Pari-gp 2.15, fix needed
Publié : mar. oct. 04, 2022 8:39 am
As reported on https://trac.sagemath.org/ticket/34586, with pari 2.15 we need to apply
Code : Tout sélectionner
--- a/src/pari.cc
+++ b/src/pari.cc
@@ -40,6 +40,13 @@ using namespace std;
#ifdef HAVE_LIBPARI
+// Anyarg disappeared from PARI 2.15.0
+#ifdef __cplusplus
+# define ANYARG ...
+#else
+# define ANYARG
+#endif
+
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
#endif