Wireshark mailing list archives

LTE-RRC doesn't compile cleanly in master-1.10


From: Jeff Morriss <jeff.morriss.ws () gmail com>
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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: