As reported on Github:

====== issue 1 =======
https://github.com/mingw-w64/mingw-w64/issues/11

#if  __MINGW_GNUC_PREREQ (3, 3)
#define __MINGW_NOTHROW __attribute__ ((__nothrow__))
#elif __MINGW_MSC_PREREQ(12, 0) && defined (__cplusplus)
#define __MINGW_NOTHROW __declspec(nothrow)
#else
#define __MINGW_NOTHROW
#endif

if compiling with clang++ -fms-compatibility (which defines _MSC_VER), this
seems to fail. May I suggest a change into:

#elif __MINGW_MSC_PREREQ(12, 0) && defined (__cplusplus) &&
!defined(__clang__)

for the second branch ?


====== issue 2 =======
https://github.com/mingw-w64/mingw-w64/issues/9

Here:

https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-headers/include/ws2tcpip.h#L287

  typedef struct addrinfoExW {
    int                ai_flags;
    int                ai_family;
    int                ai_socktype;
    int                ai_protocol;
    size_t             ai_addrlen;
    LPCWSTR            ai_canonname;
    struct sockaddr    *ai_addr;
    void               *ai_blob;
    size_t             ai_bloblen;
    LPGUID             ai_provider;
    struct addrinfoexW *ai_next;
  } ADDRINFOEXW, *PADDRINFOEXW;

the ai_next field is struct addrinfoexW *ai_next;. It should be struct
addrinfoExW *ai_next; (notice the captial E) to match the class name, here
it introduces a new struct name...

addrinfoExA defined just above has the same issue.


====== issue 3 =====
https://github.com/mingw-w64/mingw-w64/issues/8

I'm trying to build a software under mingw-w64 which uses:

GetAddrInfoExCancel
GetAddrInfoExOverlappedResult

which do not seem to be available in the headers. If someone can give me a
rough outline of the procedure I can try to add them in a PR.

====================

Thanks, cheers


Jean-Michaël

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to