[PPL-devel] [GIT] ppl/ppl(master): Fixed compilation with SWI Prolog 7.1.13.

Abramo Bagnara abramo.bagnara at bugseng.com
Thu Apr 17 14:09:11 CEST 2014


Module: ppl/ppl
Branch: master
Commit: 05629fc2d5870a9f151f8015f91a3fbb73d2c120
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=05629fc2d5870a9f151f8015f91a3fbb73d2c120

Author: Abramo Bagnara <abramo.bagnara at bugseng.com>
Date:   Thu Apr 17 14:09:04 2014 +0200

Fixed compilation with SWI Prolog 7.1.13.

---

 .../SWI/ppl_interface_generator_swiprolog_cc.m4    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interfaces/Prolog/SWI/ppl_interface_generator_swiprolog_cc.m4 b/interfaces/Prolog/SWI/ppl_interface_generator_swiprolog_cc.m4
index 389336e..14fa3cd 100644
--- a/interfaces/Prolog/SWI/ppl_interface_generator_swiprolog_cc.m4
+++ b/interfaces/Prolog/SWI/ppl_interface_generator_swiprolog_cc.m4
@@ -33,7 +33,7 @@ m4_include(`ppl_interface_generator_copyright')`'dnl
 
 #include "../ppl_prolog_domains.hh"
 
-#define PL_EXTENSION_ENTRY(name, arity) { #name, arity, (void*) name, 0 },
+#define PL_EXTENSION_ENTRY(name, arity) { #name, arity, (pl_function_t) name, 0 },
 
 namespace {
 




More information about the PPL-devel mailing list