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

Wireshark-dev: Re: [Wireshark-dev] Compilation error in ws_mempbrk_sse42.c

From: Stephen Fisher <stephenfisher@xxxxxxxxxxxxxxx>
Date: Tue, 4 Nov 2014 13:05:52 -0700
On Mon, Nov 03, 2014 at 04:14:15PM -0700, Stephen Fisher wrote:

> I haven't done Wireshark development in a while, so I'm not familiar 
> with some of the new code, such as wsutil/ws_mempbrk_sse42.c.  On 
> FreeBSD 10.0-RELEASE on amd64 (with clang as the new default 
> compiler), I'm getting this error on my initial build:
> 
> Making all in wsutil
> gmake[2]: Entering directory '/usr/local/src/wireshark/wsutil'
>   CC       libwsutil_sse42_la-ws_mempbrk_sse42.lo
> ws_mempbrk_sse42.c:49:14: error: unknown type name 'int8_t'; did you mean
>       '__int8_t'?

I resolved this by changing int8_t to gint in commit 
79e4da4d638f4abe1f2969a69327f1cfcaaeb446