unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Guile Bugs <bug-guile@gnu.org>
Subject: No declaration for isblank
Date: Wed, 19 Sep 2007 22:25:32 +0100	[thread overview]
Message-ID: <87r6kuz6sz.fsf@ossau.uklinux.net> (raw)

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


             reply	other threads:[~2007-09-19 21:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 21:25 Neil Jerram [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6kuz6sz.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=bug-guile@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).