unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* No declaration for isblank
@ 2007-09-19 21:25 Neil Jerram
  2007-09-19 21:31 ` No declaration for cuserid Neil Jerram
  2007-09-20  7:34 ` No declaration for isblank Ludovic Courtès
  0 siblings, 2 replies; 15+ messages in thread
From: Neil Jerram @ 2007-09-19 21:25 UTC (permalink / raw)
  To: Guile Bugs

Compiling current CVS on Debian Etch:

...
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../lib -I../lib -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-srfi-14.lo -MD -MP -MF .deps/libguile_la-srfi-14.Tpo -c srfi-14.c  -fPIC -DPIC -o .libs/libguile_la-srfi-14.o
cc1: warnings being treated as errors
srfi-14.c: In function 'scm_srfi_14_compute_char_sets':
srfi-14.c:1532: warning: implicit declaration of function 'isblank'
make[3]: *** [libguile_la-srfi-14.lo] Error 1
make[3]: Leaving directory `/home/neil/Organized/SW/Guile/guile-cvs-head/guile/guile-core/libguile'
...

The patch below cures this, but is it correct?

Regards,
        Neil

--- srfi-14.c	29 Jul 2007 14:58:21 -0000	1.6
+++ srfi-14.c	19 Sep 2007 21:25:08 -0000
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _GNU_SOURCE
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-02-01 20:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 21:25 No declaration for isblank Neil Jerram
2007-09-19 21:31 ` No declaration for cuserid Neil Jerram
2007-09-20  7:34 ` No declaration for isblank Ludovic Courtès
2007-10-21 21:13   ` Neil Jerram
2007-10-21 21:22     ` Neil Jerram
2007-10-21 21:51       ` Ludovic Courtès
2007-10-23 14:06         ` Neil Jerram
2007-10-23 14:27           ` Ludovic Courtès
2007-10-24 10:30             ` Neil Jerram
2007-10-24 11:19               ` Ludovic Courtès
2008-01-30 11:34                 ` Ludovic Courtès
2008-01-30 22:19                   ` Neil Jerram
2008-01-31  9:21                     ` String translation Ludovic Courtès
2008-02-01 20:46                       ` Neil Jerram
2007-10-24 11:30               ` No declaration for isblank Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).