From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: [Patch] SCM_C_INLINE is used wrongly in numbers.c Date: 27 Jul 2003 15:36:23 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87el0ct7l4.fsf@zagadka.ping.de> References: <87adcfdbkh.fsf@alice.rotty.yi.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059313131 2842 80.91.224.249 (27 Jul 2003 13:38:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2003 13:38:51 +0000 (UTC) Cc: Matthias Koeppe , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jul 27 15:38:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19gljZ-0000je-00 for ; Sun, 27 Jul 2003 15:38:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19gljH-0004Wy-Uv for guile-devel@m.gmane.org; Sun, 27 Jul 2003 09:38:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19glib-0003Wf-JQ for guile-devel@gnu.org; Sun, 27 Jul 2003 09:37:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19gliL-0002zF-5o for guile-devel@gnu.org; Sun, 27 Jul 2003 09:37:29 -0400 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19glhC-0002KD-EE for guile-devel@gnu.org; Sun, 27 Jul 2003 09:36:18 -0400 Original-Received: from dialin.speedway42.dip51.dokom.de ([195.138.42.51] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 19gli3-0001Gk-00 for guile-devel@gnu.org; Sun, 27 Jul 2003 15:37:11 +0200 Original-Received: (qmail 15522 invoked by uid 1000); 27 Jul 2003 13:36:23 -0000 Original-To: Andreas Rottmann In-Reply-To: <87adcfdbkh.fsf@alice.rotty.yi.org> Original-Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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:2648 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2648 Andreas Rottmann writes: > Matthias Koeppe writes: > > > When the compiler does not understand the `inline' keyword, configure > > arranges that SCM_C_INLINE is not defined as a macro. In this case, > > libguile/numbers.c (CVS HEAD) cannot be compiled. > > > > Here is a patch: > > > [snip] > > Wouldn't it be more simple to define SCM_C_INLINE empty? That would conflict with the way SCM_C_INLINE is used elsewhere. What about defining an addditional SCM_C_INLINE_KEYWORD and using that in numbers.c? In __scm.h: #ifdef SCM_C_INLINE #define SCM_C_INLINE_KEYWORD SCM_C_INLINE #else #define SCM_C_INLINE_KEYWORD #endif I have commited this change already. Matthias, could you test it? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel