make fails on master

Alex Aycinena alex.aycinena at gmail.com
Sat Jun 6 20:41:52 EDT 2015


Hello,

I've been away for a couple of weeks and upon return, pulled many changes
on the master branch. Make fails with:

/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c: In
function 'gfec_catcher':
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:60:9:
error: implicit declaration of function 'strdup'
[-Werror=implicit-function-declaration]
         *(char**)data = strdup("Guile error: Too many recursions in error
catch handler.");
         ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:60:23:
error: assignment makes pointer from integer without a cast [-Werror]
         *(char**)data = strdup("Guile error: Too many recursions in error
catch handler.");
                       ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:79:13:
warning: 'scm_internal_stack_catch' is deprecated (declared at
/usr/include/guile/2.0/libguile/deprecated.h:648)
[-Wdeprecated-declarations]
             scm_internal_stack_catch(SCM_BOOL_T,
             ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:99:23:
error: assignment makes pointer from integer without a cast [-Werror]
         *(char**)data = strdup("Error running guile function.");
                       ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:103:23:
error: assignment makes pointer from integer without a cast [-Werror]
         *(char**)data = strdup(msg);
                       ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c: In
function 'gfec_eval_string':
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:135:5:
warning: 'scm_internal_stack_catch' is deprecated (declared at
/usr/include/guile/2.0/libguile/deprecated.h:648)
[-Wdeprecated-declarations]
     result = scm_internal_stack_catch(SCM_BOOL_T,
     ^
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c: In
function 'gfec_apply':
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/app-utils/gfec.c:203:5:
warning: 'scm_internal_stack_catch' is deprecated (declared at
/usr/include/guile/2.0/libguile/deprecated.h:648)
[-Wdeprecated-declarations]
     result = scm_internal_stack_catch(SCM_BOOL_T,
     ^
cc1: all warnings being treated as errors
Makefile:850: recipe for target 'gfec.lo' failed
make[4]: *** [gfec.lo] Error 1
make[4]: Leaving directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/app-utils'

Any suggestions? I'm on Fedora 21. I think Geert uses that too.

Thanks,

Alex


More information about the gnucash-devel mailing list