mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
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++.
This commit is contained in:
parent
63a646c5c5
commit
e9b6a0fb97
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue