GNU bug report logs - #56551
29.0.50; Errors in xterm.c when building --without-all

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Thu, 14 Jul 2022 11:48:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Errors in xterm.c when building --without-all
Date: Thu, 14 Jul 2022 04:47:29 -0700
When building master --without-all, I get:

xterm.c: In function ‘x_scroll_bar_expose’:
xterm.c:14973:20: warning: variable ‘height’ set but not used
[-Wunused-but-set-variable]
14973 |   int x, y, width, height;
      |                    ^~~~~~
xterm.c:14973:13: warning: variable ‘width’ set but not used
[-Wunused-but-set-variable]
14973 |   int x, y, width, height;
      |             ^~~~~
xterm.c:14973:10: warning: variable ‘y’ set but not used
[-Wunused-but-set-variable]
14973 |   int x, y, width, height;
      |          ^
xterm.c:14973:7: warning: variable ‘x’ set but not used
[-Wunused-but-set-variable]
14973 |   int x, y, width, height;
      |       ^
xterm.c: In function ‘handle_one_xevent’:
xterm.c:18674:15: warning: implicit declaration of function
‘FRAME_X_DOUBLE_BUFFERED_P’ [-Wimplicit-function-declaration]
18674 |           if (FRAME_X_DOUBLE_BUFFERED_P (f))
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c:18674:15: warning: nested extern declaration of
‘FRAME_X_DOUBLE_BUFFERED_P’ [-Wnested-externs]
xterm.c:18675:13: warning: implicit declaration of function
‘x_drop_xrender_surfaces’; did you mean ‘font_drop_xrender_surfaces’?
[-Wimplicit-function-declaration]
18675 |             x_drop_xrender_surfaces (f);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
      |             font_drop_xrender_surfaces
xterm.c:18675:13: warning: nested extern declaration of
‘x_drop_xrender_surfaces’ [-Wnested-externs]
xterm.c: In function ‘mark_xterm’:
xterm.c:27956:8: error: ‘dpyinfo’ undeclared (first use in this function)
27956 |   for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next)
      |        ^~~~~~~
xterm.c:27956:8: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [Makefile:421: xterm.o] Error 1
make[1]: Target 'all' not remade because of errors.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0)
 of 2022-07-08 built on joffe
Repository revision: 9abf841429257a3e1008bedc4d857ea7a25ab9a6
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)




This bug report was last modified 2 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.