On Jun 13, 2010, at 11:06 AM, Gregory Gincley wrote: > Hi there, thanks again for this great program! > > Anyone out there able to build gnucash with gcc/gcc-libs 4.5.0, or is > this just problem with my linux distribution? > > On Arch Linux I'm unable to build gnucash from SVN source with the following > setup, tried a a couple SVN revisions > gcc-4.5.0 > gcc-libs-4.5.0 > libmpc-0.8.2-1 > mpfr-2.4.2-2 > libsigc++2.2.6 > > *Using gcc/gcc-libs-4.4.3 with the same libraries above works fine.* > > On Arch, upgrading to gcc/gcc-libs 4.5.0 also upgrades... > libsigc++2.2.8 > libmpc-0.8.2-2 > mpfr-3.0.0 > > Though it seems everything would be up-to-date, this setup also results in > the same compilation error as below. > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"qof\" > -I../../../lib/libc > -I../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -Werror > -Wdeclaration-after-statement -march=x86-64 -mtune=generic -O2 -pipe -Wall > -Wunused > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -MT qoflog.lo -MD -MP > -MF > .deps/qoflog.Tpo -c qoflog.c -fPIC -DPIC -o .libs/qoflog.o > cc1: warnings being treated as errors > qoflog.c: In function 'qof_log_level_to_string': > qoflog.c:423:5: error: case value '32' not in enumerated type 'QofLogLevel' > make[4]: *** [qoflog.lo] Error 1 > make[4]: Leaving directory > `/mnt/backup/packages/gnucash-svn/src/gnucash-build/src/libqof/qof' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/mnt/backup/packages/gnucash-svn/src/gnucash-build/src/libqof' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/mnt/backup/packages/gnucash-svn/src/gnucash-build/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/mnt/backup/packages/gnucash-svn/src/gnucash-build' > make: *** [all] Error 2
Huh. Must be a new check in 4.5. It's a fair cop, though, so I'll check in a fix shortly. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel