26 Dec
2003
26 Dec
'03
10:54 p.m.
On Fri, 2003-12-26 at 17:31, bulia byak wrote:
nr-pixblock.cpp:148: error: `rpl_malloc' undeclared (first use this function)
Hrm, where on earth is rpl_malloc() coming from?
With help from Google, I managed to fix this by removing AC_FUNC_MALLOC from configure.in, see
http://mail.gnu.org/archive/html/autoconf/2003-05/msg00027.html
Please fix this in CVS, as I don't want to commit a fix I don't understand :)
Great minds... already done.
Fwiw, here is what AC_FUNC_MALLOC does:
If the `malloc' function is compatible with the GNU C library `malloc' (i.e., `malloc (0)' returns a valid pointer), define `HAVE_MALLOC' to 1. Otherwise define `HAVE_MALLOC' to 0, ask for an `AC_LIBOBJ' replacement for `malloc', and define `malloc' to `rpl_malloc' so that the native `malloc' is not used in the main project.
I don't think this is something we need.
-mental