search for: rm_calloc

Displaying 3 results from an estimated 3 matches for "rm_calloc".

Did you mean: r_calloc
2020 Jun 07
4
[External] Re: use of the tcltk package crashes R 4.0.1 for Windows
I've committed the change to use Free instead of free in tcltk.c and sys-std.c (r78652 for R-devel, r78653 for R-patched). We might consider either moving Calloc/Free out of the Windows remapping or moving the remapping into header files so everything seeing our header files uses our calloc/free. Either would be less brittle that the current status. Best, luke On Sun, 7 Jun 2020, peter
2020 Jun 07
0
[External] use of the tcltk package crashes R 4.0.1 for Windows
Ah, I see it now: The remapping of free() to Rm_free() and calloc() to Rm_calloc() happens in memory.c, but not in tcltk.c; the macro Calloc in R_ext/RS.h maps to a call to R_chk_alloc which is defined in memory.h; RS.h is included in tcltk.c, so tcltk.c winds up calling Rm_calloc() via Calloc(), but then the NON-remapped free(), and the walls come tumbling down. If the &quo...
2007 May 23
2
Possible ld.exe problem when building
...): undefined reference to `Rm_malloc' ../main/libmain.a(memory.o):memory.c:(.text+0xbde): undefined reference to `Rm_malloc' ../main/libmain.a(memory.o):memory.c:(.text+0xc3d): undefined reference to `Rm_malloc' ../main/libmain.a(memory.o):memory.c:(.text+0xf4d): undefined reference to `Rm_calloc' ../main/libmain.a(memory.o):memory.c:(.text+0xfae): undefined reference to `Rm_realloc' ../main/libmain.a(memory.o):memory.c:(.text+0xfc8): undefined reference to `Rm_malloc' ../main/libmain.a(memory.o):memory.c:(.text+0x2cbc): undefined reference to `Rm_free' ../main/libmain.a(mem...