From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH]-Wstrict-prototypes on SCM_FUNC_CAST_ARBITRARY_ARGS Date: Sun, 21 Dec 2003 10:17:08 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87fzffowhn.fsf@zip.com.au> References: <87llp8zkdy.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071966056 13572 80.91.224.253 (21 Dec 2003 00:20:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2003 00:20:56 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 21 01:20:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AXrL3-0008Ca-00 for ; Sun, 21 Dec 2003 01:20:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AXsGO-000801-VR for guile-devel@m.gmane.org; Sat, 20 Dec 2003 20:20:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AXsGC-0007zs-6H for guile-devel@gnu.org; Sat, 20 Dec 2003 20:19:56 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AXsFg-0007h9-FX for guile-devel@gnu.org; Sat, 20 Dec 2003 20:19:55 -0500 Original-Received: from [61.8.0.36] (helo=snoopy.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AXsFA-0007e4-PW; Sat, 20 Dec 2003 20:18:53 -0500 Original-Received: from mongrel.pacific.net.au (mongrel.pacific.net.au [61.8.0.107]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hBL0HNno009378; Sun, 21 Dec 2003 11:17:23 +1100 Original-Received: from localhost (ppp233.dyn16.pacific.net.au [61.8.16.233]) by mongrel.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id hBL0HMxs002131; Sun, 21 Dec 2003 11:17:23 +1100 Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 1AXrHQ-0000Yo-00; Sun, 21 Dec 2003 10:17:08 +1000 Original-To: Stephen Compall Mail-Copies-To: never In-Reply-To: (Stephen Compall's message of "20 Dec 2003 17:50:58 -0600") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3128 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3128 Stephen Compall writes: > > GCC, by default, does not produce warnings in system > headers (i.e. libguile.h & depends). Ah, tricky. > If those functions have such > parameter types, though, missing `void' where it should be, then you > would get warnings there while compiling Guile, I should think. Yes, except that warning isn't enabled. :) I'd suggest putting a comment in your change about why the cast is to "(*)(void)" where the parameter is "(*)()", in case anyone wonders like me why they're not the same. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel