r22903 makecheck fails

Geert Janssens janssens-geert at telenet.be
Sat Apr 13 16:05:32 EDT 2013


On Saturday 13 April 2013 12:53:22 Alex Aycinena wrote:
> I updated and when I ran make check I got the following error:
> 
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query.
> c: In function ‘test_query’:
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query.
> c:20:5: error: implicit declaration of function ‘gnc_query2scm’
> [-Werror=implicit-function-declaration]
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query.
> c:20:11: error: assignment makes pointer from integer without a cast
> [-Werror]
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query
> .c:22:5: error: implicit declaration of function ‘gnc_scm2query’
> [-Werror=implicit-function-declaration]
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query.
> c:22:8: error: assignment makes pointer from integer without a cast
> [-Werror]
> /home/gnucash-dev/svncheckouts/gnucash-clean/src/engine/test/test-scm-query
> .c:29:15: error: assignment makes pointer from integer without a cast
> [-Werror] cc1: all warnings being treated as errors
> make[5]: *** [test-scm-query.o] Error 1
> make[5]: Leaving directory
> `/home/gnucash-dev/svncheckouts/gnucash-clean-build/src/engine/test'
> 
> Has anyone committed a recent update that may have caused this?
> 
> Regards,
> 
> Alex
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Yes, that was probably me with commit r22902. You may need to add
#include "engine-helpers-guile.h"
in addition or instead of
#include "engine-helpers.h"

in the test source.

Geert


More information about the gnucash-devel mailing list