Re: Warning: Return value of malloc()...
Bruno Haible <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <7671503.OqIKoW5Ulh@omega> |
Hi Don, Thanks for the data. > $ grep 'define MAPPABLE_ADDRESS_RANGE' lispbibl.h > #define MAPPABLE_ADDRESS_RANGE_END 0x7DFFFFFFFFFFUL > #define MAPPABLE_ADDRESS_RANGE_START 0x010000000000UL > Memory dump: > 0x400000 - 0x6c1fff > 0x8c1000 - 0x8defff > 0x8df000 - 0x908fff > 0x909000 - 0x90efff > 0x9d1000 - 0x9f2fff > 0x7f2ffb2e2000 - 0x7f2ffb49afff > 0x7f2ffb49b000 - 0x7f2ffb699fff This is as expected. The MAPPABLE_ADDRESS_RANGE is correct. > #define SINGLEMAP_MEMORY > #define SINGLEMAP_MEMORY_STACK In this configuration, the memory block fetched through malloc() is actually not used for anything. I'll fix this warning in a couple of days (by eliminating the useless call to malloc). Bruno ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel