libICE: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 2 01:41:26 UTC 2022
include/X11/ICE/ICEmsg.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 0515b88aa55e6e55d7ab2808d245fdd64f7863ff
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Oct 27 19:01:46 2022 -0700
Avoid -Wdeclaration-after-statement warnings from static_assert
Some implementations of static_assert() define a new variable.
Avoid warnings from those when calling static_assert() from a
macro that may not be at the top of a new code block.
../../src/accept.c: In function 'IceAcceptConnection':
../../src/accept.c:159:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
159 | IceGetHeader (iceConn, 0, ICE_ByteOrder,
| ^~~~~~~~~~~~
../../src/connect.c: In function 'IceOpenConnection':
../../src/connect.c:254:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
254 | IceGetHeader (iceConn, 0, ICE_ByteOrder,
| ^~~~~~~~~~~~
../../src/connect.c:340:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
340 | IceGetHeaderExtra (iceConn, 0, ICE_ConnectionSetup,
| ^~~~~~~~~~~~~~~~~
[...etc...]
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list