note
creamygoodness
<p>The <c>alloca</c> issue may be addressed by this patch, which requires a full rebuild (<c>perl Build realclean; perl Build.PL; perl Build test</c>):
<p><code>
Index: charmonizer/src/Charmonizer/Probe/Memory.c
===================================================================
--- charmonizer/src/Charmonizer/Probe/Memory.c (revision 6525)
+++ charmonizer/src/Charmonizer/Probe/Memory.c (revision 6526)
@@ -72,7 +72,7 @@
}
/* Windows. */
- if (!has_alloca || has_builtin_alloca) {
+ if (!(has_alloca || has_builtin_alloca)) {
sprintf(code_buf, alloca_code, "malloc.h", "alloca");
if (CC_test_compile(code_buf, strlen(code_buf))) {
has_malloc_h = true;
@@ -81,7 +81,7 @@
ConfWriter_append_conf("#define chy_alloca alloca\n");
}
}
- if (!has_alloca || has_builtin_alloca) {
+ if (!(has_alloca || has_builtin_alloca)) {
sprintf(code_buf, alloca_code, "malloc.h", "_alloca");
if (CC_test_compile(code_buf, strlen(code_buf))) {
has_malloc_h = true;
</code></p>
895989
896121