Ya, it's usable in 1.10 though it's not as efficient or featureful. It couldn't fully replace emem at that point, but for one-off use (backporting?) it should work just fine.
Switching it back to emem would also probably work with no ill-effects. Whatever's easier.
Evan
> On Apr 10, 2014, at 10:02 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe