This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Still a mini bug in 0.9.1
- To: gsl-discuss at sources dot redhat dot com
- Subject: Still a mini bug in 0.9.1
- From: Martin Quinson <Martin dot Quinson at ens-lyon dot fr>
- Date: Sat, 18 Aug 2001 23:56:22 +0200
- References: <m15YAKl-000IWaC@localhost>
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.