Wireshark mailing list archives

MSVC 2015 failures


From: Anders Broman <anders.broman () ericsson com>
Date: Fri, 5 Jun 2015 10:50:22 +0000

Hi,
Here's a couple of failures which I'm not sure on how to fix:

C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(564): error C2220: warning treated as error - no 'object' 
file generated (compiling source file addr_resolv.c)
C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(564): warning C4273: 'ws_inet_pton': inconsistent dll 
linkage (compiling source file addr_resolv.c)
C:\Development\wireshark\wsutil/inet_v6defs.h(42): note: see previous definition of 'ws_inet_pton' (compiling source 
file addr_resolv.c)
C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(581): warning C4028: formal parameter 2 different from 
declaration (compiling source file addr_resolv.c)
Has to do with our internal definition of inet_pton() I think.

in_cksum.c(92): error C2220: warning treated as error - no 'object' file generated
in_cksum.c(92): warning C4311: 'type cast': pointer truncation from 'const guint16 *' to 'unsigned long'

Any help appreciated.

Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: