Tamas TEVESZ escreveu:
On Fri, 20 Nov 2009, Bisz István wrote:
> ../../../dlmalloc.c: In function 'void* dlmalloc(size_t)':
> ../../../dlmalloc.c:4107: warning: dereferencing pointer 'b' does break
strict-aliasing rules
there is an updated dlmalloc available from
ftp://gee.cs.oswego.edu/pub/misc/ (2.8.4 as opposed to the in-tree
2.8.3, with a good 3.5yrs between them). my quick build tests show
that neither watcom nor mingw (4.2.1 here) like it as-is, but to my
untrained eye they don't look too difficult (from a cursory look it
looks like they have something to do with mmap, to which end the
in-tree version has some local changes).
maybe przemek would want to take a peek whether updating to the newer
upstream is of any benefit to hvm.
Sorry, if is a off-topic....
There are alternative to dlmalloc, ptmalloc3 is out here
http://www.malloc.de/malloc/ptmalloc3-current.tar.gz
"*New ptmalloc3 release May 31st, 2006!*
Here <http://www.malloc.de/malloc/ptmalloc3-current.tar.gz> you can
download the third version of *ptmalloc* (C source code), a fast,
memory-efficient implementation of *malloc* for Unix systems. *ptmalloc*
is based on code by Doug Lea <http://gee.cs.oswego.edu/> and was
extended for use with multiple threads (especially on SMP systems).
On Linux <http://www.linux.org/> systems, *ptmalloc* has been put to
work for years as part of the GNU C library
<http://www.gnu.org/software/libc/libc.html>."
Maybe is a better swicth dlmalloc?
Ptmalloc is based on dlmalloc.
Best regards,
Ranier Vilela
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour