Build broken by new gnc-get-default-report-font-family function

Jesse Weinstein jesse at wefu.org
Wed Jun 23 03:00:55 EDT 2010


The addition of gnc-get-default-report-font-family seems to have broken
the build (at least for me), with some kind of problem with how swig
handles wrapping functions that produce strings.  I suspect it's
probably some issue with me having the wrong versions of something, but
I thought I'd post it in case someone else comes across it.  

The revision that added the function is below:

revno: 12382.1.552
svn revno: 19285 (on /gnucash/trunk)
committer: plongstaff
timestamp: Tue 2010-06-22 21:02:01 +0000
message:
  Bug #616606: Add gnc-get-default-report-font-family function callable
from scm.
  
and the error messages I get when building are: 

Making all in .
make[1]: Entering directory
`/home/jessew/FreeProjects/gnucash/src/report/report-system'
/bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../.. -DG_LOG_DOMAIN=\"gnc.report.core\" -I../../../src
-I../../../src/gnc-module -I../../../src/app-utils -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -Werror
-Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations  -Wno-unused -MT swig-report-system.lo -MD -MP
-MF .deps/swig-report-system.Tpo -c -o swig-report-system.lo
swig-report-system.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=
\"gnc.report.core\" -I../../../src -I../../../src/gnc-module
-I../../../src/app-utils -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Werror -Wdeclaration-after-statement -g -O2
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused
-MT swig-report-system.lo -MD -MP -MF .deps/swig-report-system.Tpo -c
swig-report-system.c  -fPIC -DPIC -o .libs/swig-report-system.o
cc1: warnings being treated as errors
swig-report-system.c: In function
‘_wrap_gnc_get_default_report_font_family’:
swig-report-system.c:1281: error: implicit declaration of function
‘scm_is_true’
make[1]: *** [swig-report-system.lo] Error 1
make[1]: Leaving directory
`/home/jessew/FreeProjects/gnucash/src/report/report-system'
make: *** [all-recursive] Error 1


Hope it's simple,

Jesse Weinstein


More information about the gnucash-devel mailing list