ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] LTE-RRC doesn't compile cleanly in master-1.10

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 10 Apr 2014 22:02:27 -0400
The warning-turned-error (I like to compile the branches with warnings-as-errors to catch this kind of thing) is:

  CC       libdissectors_la-packet-lte-rrc.lo
../../asn1/lte-rrc/packet-lte-rrc-fn.c: In function 'dissect_lte_rrc_SystemInfoListGERAN_item':
../../asn1/lte-rrc/packet-lte-rrc-fn.c:13442:9: error: implicit declaration of function 'wmem_alloc' [-Werror=implicit-function-declaration]
../../asn1/lte-rrc/packet-lte-rrc-fn.c:13442:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors
make[5]: *** [libdissectors_la-packet-lte-rrc.lo] Error 1

Normally I'd just add an include of wmem.h but is wmem ready for use in the 1.10 branch? I thought not but maybe I'm mis-remembering.