From: Neil Jerram <neil@ossau.uklinux.net>
To: Guile Bugs <bug-guile@gnu.org>
Subject: No declaration for cuserid
Date: Wed, 19 Sep 2007 22:31:24 +0100 [thread overview]
Message-ID: <87myviz6j7.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87r6kuz6sz.fsf@ossau.uklinux.net> (Neil Jerram's message of "Wed, 19 Sep 2007 22:25:32 +0100")
Neil Jerram <neil@ossau.uklinux.net> writes:
> 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'
And a similar problem for cuserid() in posix.c:
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../lib -I../lib -g -O2 -Wall -Wmissing-prototypes -Werror -MT posix.lo -MD -MP -MF .deps/posix.Tpo -c posix.c -fPIC -DPIC -o .libs/posix.o
cc1: warnings being treated as errors
posix.c: In function 'scm_cuserid':
posix.c:1705: warning: implicit declaration of function 'cuserid'
posix.c:1705: warning: assignment makes pointer from integer without a cast
make[3]: *** [posix.lo] Error 1
--- posix.c 11 Sep 2007 00:46:15 -0000 1.167
+++ posix.c 19 Sep 2007 21:30:36 -0000
@@ -15,8 +15,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
\f
+#define _GNU_SOURCE
+
#if HAVE_CONFIG_H
# include <config.h>
#endif
Regards,
Neil
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
next prev parent reply other threads:[~2007-09-19 21:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 21:25 No declaration for isblank Neil Jerram
2007-09-19 21:31 ` Neil Jerram [this message]
2007-09-20 7:34 ` 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=87myviz6j7.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).