> On May 4, 2015, at 2:50 PM, Alex Aycinena <alex.aycin...@gmail.com> wrote:
> 
> On Mon, May 4, 2015 at 2:45 PM, Alex Aycinena <alex.aycin...@gmail.com>
> wrote:
> 
> <snip>
> 
> 
> 
>> Bob,
>> 
>> I believe it was John's recent commit related to boost-date. On my Fedora
>> 21 system, make doesn't work with a similar message:
>> 
>> 
>> 
> <snip>
> 
> 
>> On my Fedora 20 system, make worked but make check failed. I will send a
>> separate e-mail with that error. When I make install on that system and
>> then try to start gnucash, it works.
>> 
>> Regards,
>> 
>> Alex
>> 
> 
> The error on make check is:
> 
> make[5]: Entering directory
> `/home/gnucash-dev/gitcheckouts/gnucash-build/src/libqof/qof/test'
> gcc -DHAVE_CONFIG_H -I.
> -I/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test -I../../../..
> -I. -I/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test
> -I../../../.. -I/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof
> -I/home/gnucash-dev/gitcheckouts/gnucash/src/test-core -DTESTPROG=test_qof
> -I/home/gnucash-dev/gitcheckouts/gnucash/lib/libc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Werror
> -Wdeclaration-after-statement -Wno-pointer-sign  -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -g  -g  -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
> '/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/'`test-gnc-date.c
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:
> In function ‘test_gnc_dmy2timespec’:
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:1788:5:
> error: ‘for’ loop initial declarations are only allowed in C99 mode
>     for (int i = 0; i < sizeof(f->test)/sizeof(TimeMap); ++i)
>     ^
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:1788:5:
> note: use option -std=c99 or -std=gnu99 to compile your code
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:
> In function ‘test_gnc_dmy2timespec_end’:
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:1810:5:
> error: ‘for’ loop initial declarations are only allowed in C99 mode
>     for (int i = 0; i < sizeof(f->test)/sizeof(TimeMap); ++i)
>     ^
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:
> In function ‘test_gdate_to_timespec’:
> /home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/test/test-gnc-date.c:1912:5:
> error: ‘for’ loop initial declarations are only allowed in C99 mode
>     for (int i = 0; i < sizeof(f->test)/sizeof(TimeMap); ++i)
>     ^
> make[5]: *** [test_qof-test-gnc-date.o] Error 1
> make[5]: Leaving directory
> `/home/gnucash-dev/gitcheckouts/gnucash-build/src/libqof/qof/test'
> 

Alex,

Thanks. I’d found and fixed that on my F18 VM, but the commit didn’t make it 
back to my main repo so it didn’t make the original merge. I’ve remedied that 
and done another merge and push. Please try it.

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to