From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.bugs Subject: No declaration for cuserid Date: Wed, 19 Sep 2007 22:31:24 +0100 Message-ID: <87myviz6j7.fsf@ossau.uklinux.net> References: <87r6kuz6sz.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190237498 23097 80.91.229.12 (19 Sep 2007 21:31:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2007 21:31:38 +0000 (UTC) To: Guile Bugs Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Sep 19 23:31:36 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IY78x-0007N7-3g for guile-bugs@m.gmane.org; Wed, 19 Sep 2007 23:31:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY78v-0003Uu-DJ for guile-bugs@m.gmane.org; Wed, 19 Sep 2007 17:31:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY78r-0003T0-DP for bug-guile@gnu.org; Wed, 19 Sep 2007 17:31:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY78o-0003PB-17 for bug-guile@gnu.org; Wed, 19 Sep 2007 17:31:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY78n-0003P0-TJ for bug-guile@gnu.org; Wed, 19 Sep 2007 17:31:25 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IY78n-0002SD-Df for bug-guile@gnu.org; Wed, 19 Sep 2007 17:31:25 -0400 Original-Received: from arudy (host86-145-176-36.range86-145.btcentralplus.com [86.145.176.36]) by mail3.uklinux.net (Postfix) with ESMTP id D6C971F83FA for ; Wed, 19 Sep 2007 22:31:24 +0100 (BST) Original-Received: from laruns (unknown [192.168.0.10]) by arudy (Postfix) with ESMTP id 5504338009 for ; Wed, 19 Sep 2007 22:31:24 +0100 (BST) In-Reply-To: <87r6kuz6sz.fsf@ossau.uklinux.net> (Neil Jerram's message of "Wed, 19 Sep 2007 22:25:32 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3596 Archived-At: Neil Jerram 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 */ - +#define _GNU_SOURCE + #if HAVE_CONFIG_H # include #endif Regards, Neil _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile