unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.de>
Cc: Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>,
	guile-devel@gnu.org
Subject: Re: [Patch] SCM_C_INLINE is used wrongly in numbers.c
Date: 27 Jul 2003 15:36:23 +0200	[thread overview]
Message-ID: <87el0ct7l4.fsf@zagadka.ping.de> (raw)
In-Reply-To: <87adcfdbkh.fsf@alice.rotty.yi.org>

Andreas Rottmann <a.rottmann@gmx.at> writes:

> Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> 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


      reply	other threads:[~2003-07-27 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18  6:49 [Patch] SCM_C_INLINE is used wrongly in numbers.c Matthias Koeppe
2003-06-18  8:39 ` Andreas Rottmann
2003-07-27 13:36   ` Marius Vollmer [this message]

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=87el0ct7l4.fsf@zagadka.ping.de \
    --to=mvo@zagadka.de \
    --cc=guile-devel@gnu.org \
    --cc=mkoeppe@mail.math.uni-magdeburg.de \
    /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).