Build error: Re: r22628 - gnucash/trunk/src - Convert all time_t to time64: optional & plugins

Alex Aycinena alex.aycinena at gmail.com
Sun Dec 2 17:28:45 EST 2012


On Sat, Dec 1, 2012 at 6:05 PM, John Ralls <jralls at ceridwen.us> wrote:
>
> On Dec 1, 2012, at 4:14 PM, Alex Aycinena <alex.aycinena at gmail.com> wrote:
>
>> John,
>>
>> On Sat, Dec 1, 2012 at 2:46 PM, John Ralls <jralls at code.gnucash.org> wrote:
>>> Author: jralls
>>> Date: 2012-12-01 17:46:08 -0500 (Sat, 01 Dec 2012)
>>> New Revision: 22628
>>> Trac: http://svn.gnucash.org/trac/changeset/22628
>>>
>>> Modified:
>>>   gnucash/trunk/src/optional/gtkmm/gncmm/Transaction.hpp
>>>   gnucash/trunk/src/plugins/bi_import/dialog-bi-import.c
>>> Log:
>>> Convert all time_t to time64: optional & plugins
>>>
>>> _______________________________________________
>>> gnucash-patches mailing list
>>> gnucash-patches at gnucash.org
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-patches
>>
>> Just updated to r22628 and got the following on trying to build:
>>
>> /home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome-utils/gnc-date-edit.c:
>> In function 'gnc_date_edit_get_gdate':
>> /home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome-utils/gnc-date-edit.c:1046:5:
>> error: implicit declaration of function 'gnc_gdate_set_time64'
>> [-Werror=implicit-function-declaration]
>> cc1: all warnings being treated as errors
>> make[4]: *** [gnc-date-edit.lo] Error 1
>> make[4]: Leaving directory
>> `/home/gnucash-dev/svncheckouts/gnucash-clean-build/src/gnome-utils'
>
> Thanks, Alex. Fixed in r22629.
>
> Regards,
> John Ralls
>

John,

Yes that one was fixed but now I get:

/home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome/assistant-acct-period.c:
In function 'ap_assistant_menu_prepare':
/home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome/assistant-acct-period.c:309:5:
error: format '%lld' expects argument of type 'long long int', but
argument 5 has type 'time64' [-Werror=format]
/home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome/assistant-acct-period.c:
In function 'ap_assistant_create':
/home/gnucash-dev/svncheckouts/gnucash-clean/src/gnome/assistant-acct-period.c:574:5:
error: format '%lld' expects argument of type 'long long int', but
argument 5 has type 'time64' [-Werror=format]
cc1: all warnings being treated as errors
make[4]: *** [assistant-acct-period.lo] Error 1

Regards,

Alex


More information about the gnucash-devel mailing list