> The author of HOWL has been mailed and he tells that it happens
> because libhowl0 has been compiled without -DNDEBUG.

This is in fact an upstream bug (there's no occurrence of NDEBUG in the howl code, so the above could never be true).

The following patch fixes it:

[EMAIL PROTECTED]:~/howl-0.9.8/src/lib/howl$ diff -u debug.c.old debug.c
--- debug.c.old 2005-01-23 20:11:18.000000000 +0000
+++ debug.c     2005-01-23 20:11:46.000000000 +0000
@@ -47,6 +47,7 @@
        char message[1024];
        char string[512];

+#ifdef _DEBUG
if (code)
{
sprintf(message, "[assert] error: %d %s\n[assert] where: \"%s\", \"%s\", line: %d\n\n", code, sw_format_error_string(code, string), file, func, line);
@@ -61,6 +62,8 @@
#if defined(WIN32)
OutputDebugString(message);
#endif
+
+#endif
}


Tony


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to