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 #11 received at 56551 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56551 <at> debbugs.gnu.org
Subject: Re: bug#56551: 29.0.50; Errors in xterm.c when building --without-all
Date: Thu, 14 Jul 2022 07:50:33 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> Did I succeed to fix this now?

Thanks, it builds now.  These warnings remain, in case they're worth
fixing:

xterm.c: In function ‘x_scroll_bar_expose’:
xterm.c:14970:20: warning: variable ‘height’ set but not used
[-Wunused-but-set-variable]
14970 |   int x, y, width, height;
      |                    ^~~~~~
xterm.c:14970:13: warning: variable ‘width’ set but not used
[-Wunused-but-set-variable]
14970 |   int x, y, width, height;
      |             ^~~~~
xterm.c:14970:10: warning: variable ‘y’ set but not used
[-Wunused-but-set-variable]
14970 |   int x, y, width, height;
      |          ^
xterm.c:14970:7: warning: variable ‘x’ set but not used
[-Wunused-but-set-variable]
14970 |   int x, y, width, height;
      |       ^
xterm.c: In function ‘mark_xterm’:
xterm.c:27942:7: warning: unused variable ‘i’ [-Wunused-variable]
27942 |   int i;
      |       ^

In file included from gtkutil.c:29:
gtkutil.c: In function ‘xg_free_frame_widgets’:
gtkutil.c:1890:17: warning: implicit declaration of function
‘FRAME_X_DOUBLE_BUFFERED_P’ [-Wimplicit-function-declaration]
 1890 |       eassert (!FRAME_X_DOUBLE_BUFFERED_P (f));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
lisp.h:174:43: note: in definition of macro ‘eassert’
  174 | # define eassert(cond) ((void) (false && (cond))) /* Check
COND compiles.  */
      |                                           ^~~~
gtkutil.c:1890:17: warning: nested extern declaration of
‘FRAME_X_DOUBLE_BUFFERED_P’ [-Wnested-externs]
 1890 |       eassert (!FRAME_X_DOUBLE_BUFFERED_P (f));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~
lisp.h:174:43: note: in definition of macro ‘eassert’
  174 | # define eassert(cond) ((void) (false && (cond))) /* Check
COND compiles.  */
      |                                           ^~~~




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.