Windows compile errors due to changeset 18237

Derek Atkins warlord at MIT.EDU
Wed Aug 5 14:48:24 EDT 2009


Charles,

#ifndef HAVE_LOCALTIME_R
# include "localtime_r.h"
#endif

At least this is what's used elsehwere.

Sorry,

-derek

Quoting Charles Day <cedayiv at gmail.com>:

> Derek, this is the localtime_r change. What needs to be done?
>
> -Charles
>
>
> On Tue, Aug 4, 2009 at 11:17 PM, James Raehl <jimraehl at raehls.us> wrote:
>
>> Changeset 18327 causes the following error sequence when compiling under
>> Windows XP.  Copied from the nightly Windows build log for 04 Aug 2009:
>>
>> make[5]: Entering directory `/c/soft/gnucash/build/src/gnome-utils'
>>
>> ../../../repos/src/gnome-utils/gnc-date-edit.c: In function
>> `fill_time_popup':
>> ../../../repos/src/gnome-utils/gnc-date-edit.c:467: warning: implicit
>> declaration of function `localtime_r'
>> ../../../repos/src/gnome-utils/gnc-date-edit.c:467: warning: assignment
>> makes pointer from integer without a cast
>> ../../../repos/src/gnome-utils/gnc-date-edit.c: In function
>> `gnc_date_edit_set_time':
>> ../../../repos/src/gnome-utils/gnc-date-edit.c:698: warning: assignment
>> makes pointer from integer without a cast
>> make[5]: *** [gnc-date-edit.lo] Error 1
>> make[5]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
>> make[4]: *** [all-recursive] Error 1
>> make[4]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/c/soft/gnucash/build/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/c/soft/gnucash/build'
>> make: *** [all] Error 2
>>
>> I don't think this should be happening.
>>
>> Jim Raehl
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list