summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1998-10-24 20:55:23 +0000
committerJim Blandy <jimb@red-bean.com>1998-10-24 20:55:23 +0000
commite9b6a0fb97b94b53b2bce6328e87f48ee50d0f15 (patch)
tree50958b106a30af2a8350a350ae7155ae1cff786b
parent63a646c5c58e829846d4db7895b842a596c19ec0 (diff)
downloadguile-e9b6a0fb97b94b53b2bce6328e87f48ee50d0f15.tar.gz
Bug reports from Russ McManus:
* guile-snarf.in: If the CPP environment variable is set, use that as the C preprocessor, instead of the preprocessor autoconf found. * snarf.h (SCM_PROC): Cast the function pointer passed to scm_make_gsubr, to satisfy C++.
-rw-r--r--libguile/snarf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/snarf.h b/libguile/snarf.h
index 7badfac22..306e2ca60 100644
--- a/libguile/snarf.h
+++ b/libguile/snarf.h
@@ -55,7 +55,7 @@
static char RANAME[]=STR
#else
#define SCM_PROC(RANAME, STR, REQ, OPT, VAR, CFN) \
-%%% scm_make_gsubr (RANAME, REQ, OPT, VAR, CFN)
+%%% scm_make_gsubr (RANAME, REQ, OPT, VAR, (SCM (*)()) CFN)
#define SCM_PROC1(RANAME, STR, TYPE, CFN) \
%%% scm_make_subr(RANAME, TYPE, CFN)
#endif