complie error in current trunk

John Ralls jralls at ceridwen.us
Thu Dec 20 10:01:41 EST 2012


On Dec 20, 2012, at 3:06 AM, Herbert Thoma <herbert.thoma at iis.fraunhofer.de> wrote:

> Hi!
> 
> I get the following errors:
> (If I run configure with --disable-error-on-warning the build
> completes successfully.)
> 
> cc1: warnings being treated as errors
> swig-unittest-support-guile.c: In function ‘_wrap_TestErrorStruct_log_domain_get’:
> swig-unittest-support-guile.c:1367:7: error: ‘gswig_result’ may be used uninitialized in this function
> swig-unittest-support-guile.c: In function ‘_wrap_TestErrorStruct_msg_get’:
> swig-unittest-support-guile.c:1430:7: error: ‘gswig_result’ may be used uninitialized in this function
> make[3]: *** [libtest_core_guile_la-swig-unittest-support-guile.lo] Fehler 1
> make[3]: Leaving directory `/home/tma/gnucash/gnucash_cvs/gnucash_work/src/test-core'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/tma/gnucash/gnucash_cvs/gnucash_work/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/tma/gnucash/gnucash_cvs/gnucash_work'
> make: *** [all] Fehler 2
> 
> 
> cc1: warnings being treated as errors

[SNIP]

> 
> openSUSE 11.4 (x86_64)
> SWIG Version 1.3.40
> Guile 1.8.7
> gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]

Did you do a make maintainer-clean, autogen, and configure? That usually fixes swig problems.

Regards,
John Ralls




More information about the gnucash-devel mailing list