Compile Warning (Error) in trunk

Casey Cichon casey at wizkid.homelinux.net
Thu Jun 7 10:37:15 EDT 2012


I'm compiling the latest trunk and get the following error:

Making all in test
make[5]: Entering directory `/home/casey/Downloads/gnucash/src/libqof/qof/test'
gcc -DHAVE_CONFIG_H -I. -I../../../..    -I. -I../../../.. -I../../../../src/libqof/qof -I../../../../src/test-core -DTESTPROG=test_qof -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include   -Werror -Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -MT test_qof-test-gnc-date.o -MD -MP -MF .deps/test_qof-test-gnc-date.Tpo -c -o test_qof-test-gnc-date.o `test -f 'test-gnc-date.c' || echo './'`test-gnc-date.c
test-gnc-date.c: In function ‘test_timespec_equal’:
test-gnc-date.c:172:29: error: integer overflow in expression [-Werror=overflow]
test-gnc-date.c: In function ‘test_timespec_cmp’:
test-gnc-date.c:200:29: error: integer overflow in expression [-Werror=overflow]
test-gnc-date.c: In function ‘test_timespec_diff’:
test-gnc-date.c:234:29: error: integer overflow in expression [-Werror=overflow]
test-gnc-date.c:262:27: error: integer overflow in expression [-Werror=overflow]
test-gnc-date.c:269:2: error: integer overflow in expression [-Werror=overflow]
test-gnc-date.c: In function ‘test_timespecCanonicalDayTime’:
test-gnc-date.c:342:29: error: integer overflow in expression [-Werror=overflow]
cc1: all warnings being treated as errors

make[5]: *** [test_qof-test-gnc-date.o] Error 1
make[5]: Leaving directory `/home/casey/Downloads/gnucash/src/libqof/qof/test'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/casey/Downloads/gnucash/src/libqof/qof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/casey/Downloads/gnucash/src/libqof'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/casey/Downloads/gnucash/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/casey/Downloads/gnucash'
make: *** [all] Error 2
casey at wizkid2:~/Downloads/gnucash$

Casey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20120607/bc89f10c/attachment.sig>


More information about the gnucash-devel mailing list