cross compile m4 macro
nickm at freehaven.net
Tue Aug 8 23:19:09 UTC 2006
On Tue, Jul 25, 2006 at 09:15:24AM +0100, freddyz77 at tin.it wrote:
> I changed a bit your macro for memset(0) test (I also changed
> some names to use in another project). Attached. It use a grep to
> detect if NULL is the same of setting bytes to zero.
Hi! This is very clever, but we probably won't apply it. First, the
point of the test is only to give an early warning if we'll break from
having an unexpected-but-legal representation for NULL; we don't have
sane fallback behavior here, so invoking it doesn't seem so important.
Also, this test has potential for false positives on compilers that do
funny by legal things with memory layout.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 652 bytes
Desc: not available
More information about the tor-dev