guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build failures from gcc warning about memset


From: Ludovic Courtès
Subject: Re: build failures from gcc warning about memset
Date: Mon, 26 Oct 2009 10:26:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hello,

Andy Wingo <address@hidden> writes:

> Actually scm_gc_malloc will give you back a zeroed array, afaik, as
> GC_malloc does. The patch looks fine but if we can rely on
> scm_gc_malloc's new behavior, we don't need the memset at all.

Oh oh, good catch!  It’s actually documented this way in
gcinterface.html and [0] but not in gc.h.

Anyway, I’ve fixed it now!

Thanks,
Ludo’.

[0] http://www.hpl.hp.com/personal/Hans_Boehm/gc/simple_example.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]