all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
@ 2022-07-14 11:47 Stefan Kangas
  2022-07-14 13:38 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kangas @ 2022-07-14 11:47 UTC (permalink / raw)
  To: 56551

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)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-14 11:47 bug#56551: 29.0.50; Errors in xterm.c when building --without-all Stefan Kangas
@ 2022-07-14 13:38 ` Eli Zaretskii
  2022-07-14 14:50   ` Stefan Kangas
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2022-07-14 13:38 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56551

> 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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-14 13:38 ` Eli Zaretskii
@ 2022-07-14 14:50   ` Stefan Kangas
  2022-07-14 15:13     ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kangas @ 2022-07-14 14:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 56551

Eli Zaretskii <eliz@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.  */
      |                                           ^~~~





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-14 14:50   ` Stefan Kangas
@ 2022-07-14 15:13     ` Glenn Morris
  2022-07-14 16:01       ` Eli Zaretskii
  2022-07-15  2:19       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 7+ messages in thread
From: Glenn Morris @ 2022-07-14 15:13 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Eli Zaretskii, 56551


./configure --with-x-toolkit=athena \
  --without-toolkit-scroll-bars --without-xaw3d

is now broken due to issues with x, y, width, height being undeclared.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-14 15:13     ` Glenn Morris
@ 2022-07-14 16:01       ` Eli Zaretskii
  2022-07-15  2:19       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2022-07-14 16:01 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 56551, stefan

> From: Glenn Morris <rgm@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>,  56551@debbugs.gnu.org
> Date: Thu, 14 Jul 2022 11:13:58 -0400
> 
> 
> ./configure --with-x-toolkit=athena \
>   --without-toolkit-scroll-bars --without-xaw3d
> 
> is now broken due to issues with x, y, width, height being undeclared.

If it's still broken, I'd appreciate the error messages.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-14 15:13     ` Glenn Morris
  2022-07-14 16:01       ` Eli Zaretskii
@ 2022-07-15  2:19       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-04 15:18         ` Stefan Kangas
  1 sibling, 1 reply; 7+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-15  2:19 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Eli Zaretskii, 56551, Stefan Kangas

Glenn Morris <rgm@gnu.org> 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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#56551: 29.0.50; Errors in xterm.c when building --without-all
  2022-07-15  2:19       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-04 15:18         ` Stefan Kangas
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Kangas @ 2022-08-04 15:18 UTC (permalink / raw)
  To: Po Lu; +Cc: Glenn Morris, Eli Zaretskii, 56551-done

Po Lu <luangruo@yahoo.com> writes:

> Glenn Morris <rgm@gnu.org> 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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-04 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-14 11:47 bug#56551: 29.0.50; Errors in xterm.c when building --without-all Stefan Kangas
2022-07-14 13:38 ` Eli Zaretskii
2022-07-14 14:50   ` Stefan Kangas
2022-07-14 15:13     ` Glenn Morris
2022-07-14 16:01       ` Eli Zaretskii
2022-07-15  2:19       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 15:18         ` Stefan Kangas

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.