Menu

#236 missing symbols from winsock2

None
closed
nobody
None
1
2015-06-21
2014-11-08
zerotacg
No

there seem to be a lot of missing symbols from winsock2 which are present in standard mingw
stuff like
ADDRESS_FAMILY
MSG_WAITALL
WSAID_CONNECTX
and others [1] could you hint me to why that might be?

[1] https://github.com/nanomsg/nanomsg/issues/330

Discussion

  • Anonymous

    Anonymous - 2014-11-23

    Anyone had the time to look into this please?
    I'm currently having the same issue and it's quite frustrating.
    Any input is appreciated. Thank you!

     
  • John E.

    John E. - 2014-11-23

    ADDRESS_FAMILY is defined in x86_64-w64-mingw32/include/winsock2.h, line 583.
    MSG_WAITALL is defined on line 304.

    WSAID_CONNECTX doesn't show up in Microsoft's documentation anywhere.

    Please provide a failing testcase per the bug reporting instructions.

     
  • John E.

    John E. - 2014-11-23
    • status: open --> pending
     
  • John E.

    John E. - 2014-11-24

    Oops, I misinterpreted your report as stating they weren't in TDM64 but were in standard MinGW.

    These symbols are indeed not defined in the MinGW project's current recommended w32api release, which TDM-GCC uses.

    A bug report should be filed at https://sourceforge.net/p/mingw/bugs/ if one doesn't already exist.

     
  • John E.

    John E. - 2014-11-24
    • status: pending --> accepted
     
  • zerotacg

    zerotacg - 2014-11-24

    thanks for the answer, I was just seeking information, so I'd consider the issue done.

    I searched the project site but didn't find information regarding which version of MinGW it is based on, browsing the files [1] seems you're currently using w32api-3.17-2?

    Searching MinGW and MinGW 64 did not reveal the recommendation you're talking about but anyway it's the version tdm uses, for good reasons, and it just does not contain the mentioned symbols.

    thanks again for pointing me in the right direction :)

    [1] https://sourceforge.net/projects/tdm-gcc/files/Sources/MinGW.org%20Sources/

     
  • John E.

    John E. - 2014-12-19

    Yes, w32api-3.17-2 is the current recommended version.

     
  • John E.

    John E. - 2015-06-21
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB