diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4 index 289997edf2..da2aa93448 100644 --- a/macros/gnome-guile-checks.m4 +++ b/macros/gnome-guile-checks.m4 @@ -88,9 +88,8 @@ AC_DEFUN([GNOME_CHECK_GUILE], AC_MSG_CHECKING(whether guile works) AC_TRY_LINK([ #include - #include ],[ - gh_eval_str("(newline)"); + scm_c_eval_string("(newline)"); scm_boot_guile(0,NULL,NULL,NULL); ],[ ac_cv_guile_found=yes diff --git a/src/app-utils/gnc-exp-parser.c b/src/app-utils/gnc-exp-parser.c index da599f74e3..e1a673d88f 100644 --- a/src/app-utils/gnc-exp-parser.c +++ b/src/app-utils/gnc-exp-parser.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include @@ -342,7 +342,10 @@ func_op(const char *fname, int argc, void **argv) realFnName = g_string_sized_new( strlen(fname) + 5 ); g_string_printf( realFnName, "gnc:%s", fname ); - scmFn = gh_eval_str_with_standard_handler( realFnName->str ); +// scmFn = gh_eval_str_with_standard_handler( realFnName->str ); + scmFn = scm_internal_catch(SCM_BOOL_T, + (scm_catch_body_t)scm_c_eval_string, realFnName->str, + scm_handle_by_message_noexit, NULL); g_string_free( realFnName, TRUE ); if (!SCM_PROCEDUREP(scmFn)) { /* FIXME: handle errors correctly. */ diff --git a/src/optional/python-bindings/gnucash_core.i b/src/optional/python-bindings/gnucash_core.i index 1dded93b3e..2f681617fb 100644 --- a/src/optional/python-bindings/gnucash_core.i +++ b/src/optional/python-bindings/gnucash_core.i @@ -45,7 +45,7 @@ #include "gncVendor.h" #include "gncAddress.h" #include "gncBillTerm.h" -#include +#include %} %include