From: Eli Zaretskii <eliz@gnu.org>
To: "Ulrich Müller" <ulm@gentoo.org>, "Po Lu" <luangruo@yahoo.com>
Cc: 68842@debbugs.gnu.org
Subject: bug#68842: 29.2; implicit declaration of function 'XOpenDisplay'
Date: Wed, 31 Jan 2024 19:26:03 +0200 [thread overview]
Message-ID: <86sf2d1kk4.fsf@gnu.org> (raw)
In-Reply-To: <ufryeylny@gentoo.org> (message from Ulrich Müller on Wed, 31 Jan 2024 09:03:29 +0100)
> From: Ulrich Müller <ulm@gentoo.org>
> Date: Wed, 31 Jan 2024 09:03:29 +0100
>
> configure warns about an implicit function declaration for XOpenDisplay,
> which in turn triggers a QA warning in Gentoo's package manager.
>
> The relevant snippet from configure.log is:
>
> configure:14158: checking whether X on GNU/Linux needs -b to link
> configure:14175: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lX11 >&5
> conftest.c: In function 'main':
> conftest.c:125:1: warning: implicit declaration of function 'XOpenDisplay' [-Wimplicit-function-declaration]
> 125 | XOpenDisplay ("foo");
> | ^~~~~~~~~~~~
> configure:14175: $? = 0
> configure:14223: result: no
>
> Attached patch fixes the problem for me. Is it OK to merge it to the
> emacs-29 branch? (In master, the test in question was removed altogether
> by commit 6c1413d5ef0d1fea639b0d8c83a0c0065d99359b.)
Po Lu, any comments to the patch?
I don't mind installing this on emacs-29, if it's TRT, but the chances
for us to have another Emacs 29.x release are slim at best at this
point. So I wonder whether you should bother.
next prev parent reply other threads:[~2024-01-31 17:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 8:03 bug#68842: 29.2; implicit declaration of function 'XOpenDisplay' Ulrich Müller
2024-01-31 17:26 ` Eli Zaretskii [this message]
2024-01-31 19:16 ` Ulrich Mueller
2024-01-31 19:32 ` Eli Zaretskii
2024-02-01 1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-01 7:38 ` Eli Zaretskii
2024-02-01 8:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-01 8:44 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-01 9:03 ` Eli Zaretskii
2024-02-01 9:21 ` Ulrich Mueller
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=86sf2d1kk4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=68842@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=ulm@gentoo.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.
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.