From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: x-popup-menu
Date: Tue, 10 Nov 2009 02:43:48 +0200 [thread overview]
Message-ID: <871vk78dsb.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwvbpjccj6k.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 09 Nov 2009 01:23:01 -0500")
> I've just consolidated the X(&msdos), w32, and ns code of x-popup-menu
> into menu.c.
> I've only tested the X11 version, and left some #ifdefs which I suspect
> are not needed. Please test and fix as needed for other GUI backends,
On a non-toolkit X build, `make bootstrap' fails with:
xmenu.c:2320: error: static declaration of 'xmenu_show' follows non-static declaration
menu.h:46: error: previous declaration of 'xmenu_show' was here
make[2]: *** [xmenu.o] Error 1
where xmenu.c:2320 contains:
static Lisp_Object
xmenu_show (f, x, y, for_click, keymaps, title, error, timestamp)
and menu.h:46 contains:
extern Lisp_Object xmenu_show (FRAME_PTR, int, int, int, int,
Lisp_Object, char **, EMACS_UINT);
But the same function cannot be static and extern at the same time.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2009-11-10 0:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 6:23 x-popup-menu Stefan Monnier
2009-11-10 0:43 ` Juri Linkov [this message]
2009-11-10 18:10 ` x-popup-menu Stefan Monnier
2009-11-13 10:37 ` x-popup-menu Eli Zaretskii
2009-11-13 14:51 ` x-popup-menu Stefan Monnier
2009-11-13 22:51 ` x-popup-menu Chad Brown
2009-11-17 3:33 ` x-popup-menu Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vk78dsb.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.