Am 20.12.2012 16:01, schrieb John Ralls: > > On Dec 20, 2012, at 3:06 AM, Herbert Thoma <herbert.th...@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 >> >> >> 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.
I used a fresh, clean checkout from SVN, so no leftovers from previous revisions should spoil the build. I noticed that my version of swig is 1.3.40 which was released in 2009. The current version seems to be 2.0.9. However, there is no native package of swig-2.0 available for openSUSE 11.4 (which was released early 2011). Which version of swig do yo use? Herbert. > Regards, > John Ralls > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel