[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56551: 29.0.50; Errors in xterm.c when building --without-all
From: |
Eli Zaretskii |
Subject: |
bug#56551: 29.0.50; Errors in xterm.c when building --without-all |
Date: |
Thu, 14 Jul 2022 16:38:49 +0300 |
> From: Stefan Kangas <stefan@marxist.se>
> 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.
Did I succeed to fix this now?