[Interest] Compile error with windows kit 8.1

Mathieu Slabbinck matty.slabbinck at gmail.com
Mon Aug 24 11:17:13 CEST 2015


Hi all,

I'm having this compile error that I cannot seem to resolve, nor do I
understand it.
Can anyone set me in the right direction here?

Error:
C:\Program Files (x86)\Windows Kits\8.1\Include\shared\ws2def.h:905:
error: Can't concatenate non identifier tokens

on:
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
typedef struct _WINSOCK_DEPRECATED_BY("ADDRINFOEXW") addrinfoexA
{
    int                 ai_flags;       // AI_PASSIVE, AI_CANONNAME,
AI_NUMERICHOST
    int                 ai_family;      // PF_xxx
    int                 ai_socktype;    // SOCK_xxx
    int                 ai_protocol;    // 0 or IPPROTO_xxx for IPv4 and IPv6
    size_t              ai_addrlen;     // Length of ai_addr
    char               *ai_canonname;   // Canonical name for nodename
    struct sockaddr    *ai_addr;        // Binary address
    void               *ai_blob;
    size_t              ai_bloblen;
    LPGUID              ai_provider;
    struct addrinfoexA *ai_next;        // Next structure in linked list
} ADDRINFOEXA, *PADDRINFOEXA, *LPADDRINFOEXA;
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion

it puts a break on the typedef struct ...

Thanks!

Mathieu



More information about the Interest mailing list