exp10() error on winXP svn 15713
Nathan Buchanan
nbinont at gmail.com
Tue Mar 13 23:04:50 EDT 2007
Hello!
I ran into the following error when building svn 15713:
../../../repos/src/app-utils/gnc-ui-util.c: In function `integer_to_words':
../../../repos/src/app-utils/gnc-ui-util.c:1605: warning: implicit
declaration of function `exp10'
make[4]: *** [gnc-ui-util.lo] Error 1
make[4]: Leaving directory `/c/soft/gnucash/build/src/app-utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/soft/gnucash/build/src/app-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
it looks like exp10() is not defined - at least on my ststem. The call to
exp10() was added as part of r15677. Related lines:
while (val >= 1000) {
log_val = log10(val) / 3 + FUDGE;
pow_val = exp10(log_val * 3) + FUDGE;
this_part = val / pow_val;
val -= this_part * pow_val;
tmp = integer_to_words(this_part);
g_string_append_printf(result, "%s %s ", tmp,
gettext(big_numbers[log_val]));
g_free(tmp);
}
Nathan
PS: this is with a fresh checkout and after I removed the build directory.
--
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
A conclusion is the place where you got tired of thinking.
More information about the gnucash-devel
mailing list