Wireshark mailing list archives

Re: Compilation error with Wireshark source code in Windows 7 + MSVS 201


From: darkjames-ws () darkjames pl
Date: Wed, 6 Aug 2014 09:10:04 +0200

Hi,

On Tue, Aug 05, 2014 at 08:08:51PM +0530, Bharath Gandhi wrote:
ws_mempbrk_sse42.c
ws_mempbrk_sse42.c(50) : error C2061: syntax error : identifier
'___m128i_shift_
right'
ws_mempbrk_sse42.c(50) : error C2059: syntax error : ';'
ws_mempbrk_sse42.c(50) : error C3409: empty attribute block is not allowed
ws_mempbrk_sse42.c(50) : error C2513: '/*global*/ ' : no variable declared
befor
e '='
ws_mempbrk_sse42.c(59) : error C2065: '___m128i_shift_right' : undeclared
identi
fier
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.


Please help me to resolve this issue.

I'm just guessing but try to replace type of ___m128i_shift_right to gint8, like:

 49 static const gint8 ___m128i_shift_right[31] =

<stdint.h> is already included for windows, so it should not help, but please try it.

Cheers,
Jakub.
___________________________________________________________________________
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: