This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Still a mini bug in 0.9.1


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]