From: Neil Jerram <neil@ossau.uklinux.net>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Fix continuation problems on IA64.
Date: Mon, 12 May 2008 22:02:39 +0100 [thread overview]
Message-ID: <87lk2futg0.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87iqxledzz.fsf@gnu.org> (Ludovic Courtès's message of "Sun, 11 May 2008 05:06:08 +0200")
ludo@gnu.org (Ludovic Courtès) writes:
> I'm not a Windows expert, but I think the `SCM_API' is needed in some
> cases, for instance for internal `scm_i_' functions that may be called
> indirectly by user programs, e.g., through macros or inline functions.
Yes, that's correct. (Sadly :-) I have to use Windows for my work...)
> So I suppose `SCM_API' is not needed Windows-wise for `scm_ia64_longjmp'
> since it's only meant to be called from within libguile.
Yes, correct.
I believe that means we're agreed on all points now, so I'll commit
shortly.
>> FWIW, my preferred position would be that something is only a
>> supported API if it is documented in the manual. It should then
>> follow that SCM_API can only be used on something that is documented
>> in the manual (including anything that is needed for the expansions of
>> documented macros).
>
> Agreed.
>
> I've been thinking about leveraging GCC's `visibility' attribute to
> enforce this.
That sounds like an excellent idea. IIUC, that would have an effect
equivalent to the Windows expansion of SCM_API (__declspec(dllextn) or
whatever), and it would solve the problem (or rather inelegance) where
you have an "internal" function but which is used by more than one of
libguile's source files, and so can't be static.
Regards,
Neil
next prev parent reply other threads:[~2008-05-12 21:02 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 23:46 [PATCH] Fix continuation problems on IA64 Neil Jerram
2008-05-08 20:09 ` Ludovic Courtès
2008-05-08 21:29 ` Neil Jerram
2008-05-09 8:15 ` Ludovic Courtès
2008-05-09 22:19 ` Neil Jerram
2008-05-11 3:06 ` Ludovic Courtès
2008-05-12 21:02 ` Neil Jerram [this message]
2008-05-14 3:45 ` Internal visibility Ludovic Courtès
2008-05-27 21:32 ` Ludovic Courtès
2008-05-31 21:23 ` Ludovic Courtès
2008-06-01 8:00 ` Neil Jerram
2008-06-01 11:05 ` Ludovic Courtès
2008-06-01 20:48 ` Neil Jerram
2008-06-01 22:02 ` Ludovic Courtès
2008-06-01 20:24 ` Han-Wen Nienhuys
2008-06-09 18:10 ` Neil Jerram
2008-06-10 1:51 ` Han-Wen Nienhuys
2008-06-10 7:37 ` Ludovic Courtès
2008-06-10 8:04 ` Thien-Thi Nguyen
2008-06-10 12:09 ` Ludovic Courtès
2008-06-11 7:49 ` Thien-Thi Nguyen
2008-06-11 12:20 ` Ludovic Courtès
2008-06-12 20:45 ` Mike Gran
2008-06-23 12:20 ` Ludovic Courtès
2008-06-11 4:05 ` Han-Wen Nienhuys
2008-06-11 7:18 ` Ludovic Courtès
2008-06-11 7:24 ` Clinton Ebadi
2008-06-11 7:39 ` Ludovic Courtès
2008-06-11 16:09 ` Han-Wen Nienhuys
2008-06-23 12:18 ` Ludovic Courtès
2008-06-11 7:37 ` Neil Jerram
2008-05-12 22:18 ` [PATCH] Fix continuation problems on IA64 Neil Jerram
2008-05-14 2:55 ` Ludovic Courtès
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=87lk2futg0.fsf@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-devel@gnu.org \
--cc=ludo@gnu.org \
/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).