[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master ad2d50d762: Fix last change in xterm.c
From: |
Lars Ingebrigtsen |
Subject: |
Re: master ad2d50d762: Fix last change in xterm.c |
Date: |
Sun, 20 Feb 2022 17:27:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
I have no idea whether it's this change that caused it or not, but:
xterm.c: In function ‘handle_one_xevent’:
xterm.c:8880:3: warning: macro expands to multiple statements
[-Wmultistatement-macros]
8880 | if (temp_index == ARRAYELTS (temp_buffer)) |
^~
xterm.c:8880:3: note: in definition of macro ‘STORE_KEYSYM_FOR_DEBUG’
8880 | if (temp_index == ARRAYELTS (temp_buffer)) |
^~
xterm.c:10125:13: note: some parts of macro expansion are not guarded by this
‘for’ clause
10125 | for (i = 0; i < nbytes; i++)
| ^~~
keyboard.c: In function ‘read_event_from_main_queue’:
keyboard.c:2251:22: warning: ‘kb’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
2251 | current_kboard = kb;
| ~~~~~~~~~~~~~~~^~~~
I get these warnings when compiling now with nativecomp, and I don't
think they were there a couple of days ago? But I may be mistaken.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: master ad2d50d762: Fix last change in xterm.c,
Lars Ingebrigtsen <=