Still a mini bug in 0.9.1
Martin Quinson
Martin.Quinson@ens-lyon.fr
Wed Dec 19 13:20:00 GMT 2001
Hello, I just checked, and the gsl.m4 macro won't work when you use paranoid
compillation option like "-Wmissing-prototypes -Werror".
I put them in CFLAGS with the autotools mechanism, and if I do it before I
call your macro, the test program won't compile.
Here is the patch to fix it:
--------------------
--- gsl.m4.orig Sat Aug 18 23:49:54 2001
+++ gsl.m4 Sat Aug 18 23:50:15 2001
@@ -64,6 +64,8 @@
#include <stdlib.h>
#include <string.h>
+char* my_strdup (const char *str);
+
char*
my_strdup (const char *str)
{
--------------------
That's a pretty stupid patch, but it really helps here(TM).
Bye, Mt.
More information about the Gsl-discuss
mailing list