26 Dec
2003
26 Dec
'03
10:47 p.m.
On Fri, 2003-12-26 at 17:05, bulia byak wrote:
nr-pixblock.cpp:45: error: `rpl_malloc' undeclared (first use this function) nr-pixblock.cpp:45: error: (Each undeclared identifier is reported only once for each function it appears in.)
Line 45 uses nr_new() which is defined in nr-macros.h:
#define nr_new(t,n) ((t *) malloc ((n) * sizeof (t)))
Now, apparently AC_FUNC_MALLOC will redefine malloc to rpl_malloc if it determines malloc isn't "GNU compatible" ... which is probably a good reason not to use AC_FUNC_MALLOC. I'm not sure how that could possibly count as a feature.
I'll remove AC_FUNC_MALLOC from configure.in.
-mental