ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] The build broke on the recent X11 changes

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 18 Apr 2017 18:34:07 +0200
Hi,

I get this building Wireshark:

make[6]: Entering directory '/home/jaap/src/wireshark/master/epan/dissectors'
  CC       packet-x11.lo
packet-x11.c: In function ‘dissect_x11_request’:
packet-x11.c:3753:13: error: this ‘if’ clause does not guard...
[-Werror=misleading-indentation]
             if (next_offset - *offsetp > 0)
             ^~
packet-x11.c:3755:17: note: ...this statement, but the latter is misleadingly
indented as if it is guarded by the ‘if’
                 *offsetp = next_offset;
                 ^
cc1: all warnings being treated as errors
Makefile:4388: recipe for target 'packet-x11.lo' failed
make[6]: *** [packet-x11.lo] Error 1

Anyone else?

Thanks,
Jaap