Home page logo
/

wireshark logo Wireshark mailing list archives

Build failures with VS2013
From: Graham Bloice <graham.bloice () trihedral com>
Date: Sat, 7 Dec 2013 16:50:10 +0000

 Started testing builds with VS 2013 Pro (nmake build), complaints about
redefinitions:

C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(531) : error
C2373: 'ws_inet_pton' : redefinition; different type modifiers
        E:\Wireshark\trunk\wsutil/inet_v6defs.h(44) : see declaration of
'ws_inet_pton'
C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(548) : error
C2373: 'ws_inet_ntop' : redefinition; different type modifiers
        E:\Wireshark\trunk\wsutil/inet_v6defs.h(46) : see declaration of
'ws_inet_ntop'

Looking at the definitions of these I can't see what's up.

The definitions from ws2tcpip.h:

#if (NTDDI_VERSION >= NTDDI_VISTA)
WINSOCK_API_LINKAGE
INT
WSAAPI
inet_pton(
    _In_                                INT             Family,
    _In_                                PCSTR           pszAddrString,
    _Out_writes_bytes_(sizeof(IN6_ADDR))      PVOID           pAddrBuf
    );

PCSTR
WSAAPI
inet_ntop(
    _In_                                INT             Family,
    _In_                                PVOID           pAddr,
    _Out_writes_(StringBufSize)         PSTR            pStringBuf,
    _In_                                size_t          StringBufSize
    );
#endif
___________________________________________________________________________
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

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]