Subject: bug#56551: closed (Re: bug#56551: 29.0.50; Errors in xterm.c when building --without-all)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 04 Aug 2022 15:19:02 +0000

Your bug report

#56551: 29.0.50; Errors in xterm.c when building --without-all

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56551: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56551
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56551: 29.0.50; Errors in xterm.c when building --without-all
From: Stefan Kangas <[email-masked]>
To: Po Lu <[email-masked]>
Cc: Glenn Morris <[email-masked]>, Eli Zaretskii <[email-masked]>, [email-masked]
Date: Thu, 4 Aug 2022 15:18:35 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Po Lu <[email-masked]> writes:

> Glenn Morris <[email-masked]> writes:
>
>> ./configure --with-x-toolkit=athena \
>>   --without-toolkit-scroll-bars --without-xaw3d
>>
>> is now broken due to issues with x, y, width, height being undeclared.
>
> It works for me, could you please show the error?

No further comments within 3 weeks, and the above works for me on latest
master.  I'm therefore closing this bug report.

Please reopen if this is still an issue.

Subject: 29.0.50; Errors in xterm.c when building --without-all
From: Stefan Kangas <[email-masked]>
To: [email-masked]
Date: Thu, 14 Jul 2022 04:47:29 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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)