From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Unnecessary warnings Date: Tue, 26 Sep 2006 08:33:28 +1000 Message-ID: <87lko7poef.fsf@zip.com.au> References: <4516A74F.5080101@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159223781 20555 80.91.229.2 (25 Sep 2006 22:36:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 22:36:21 +0000 (UTC) Cc: Harlan Stenn , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 26 00:36:18 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRz3H-000084-0k for guile-devel@m.gmane.org; Tue, 26 Sep 2006 00:35:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRz3G-00024Q-H1 for guile-devel@m.gmane.org; Mon, 25 Sep 2006 18:35:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRz1g-0000lR-Pr for guile-devel@gnu.org; Mon, 25 Sep 2006 18:34:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRz1a-0000fP-Tn for guile-devel@gnu.org; Mon, 25 Sep 2006 18:34:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRz1a-0000fH-Pv for guile-devel@gnu.org; Mon, 25 Sep 2006 18:34:06 -0400 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRz64-00063x-5l; Mon, 25 Sep 2006 18:38:44 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 57CA86EA6B; Tue, 26 Sep 2006 08:33:59 +1000 (EST) Original-Received: from localhost (ppp2CFE.dyn.pacific.net.au [61.8.44.254]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id k8PMXgbR013197; Tue, 26 Sep 2006 08:33:56 +1000 Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GRz0y-0001aU-W5; Tue, 26 Sep 2006 08:33:29 +1000 Original-To: bkorb@gnu.org Mail-Copies-To: never In-Reply-To: <4516A74F.5080101@gnu.org> (Bruce Korb's message of "Sun, 24 Sep 2006 08:42:07 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6120 Archived-At: Bruce Korb writes: > > These are all due to argument names in prototype declarations. > Please suffix the names with "_arg" or something. Or better just drop the names, which avoids any possibility of clashing with application macros too. > extern SCM scm_c_make_gsubr (const char *name, > int req, int opt, int rst, SCM (*fcn) ()); > > where "fcn" does not look like a prototype. It needs "(void)" as the > argument list. void is not really true, it can be any number of arguments of course. Dunno if that makes a difference in practice, with enough casts (of which there's a few already). _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel