Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Compilation error with Wireshark source code in Windows 7 + MSVS

From: Bharath Gandhi <bharath.gandhi.in@xxxxxxxxx>
Date: Tue, 5 Aug 2014 20:08:51 +0530
Hi,

While compiling the latest wireshark code with Windows 7 environment, getting the following error.
I am using Microsoft Visual Studio 2010 Professional Edition.

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

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.