Build errors and warnings on mingw-w64

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 1.2.1
    • Affects Version/s: 1.2.0
    • Component/s: mingw
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Version 1.2.0 no longer builds on windows because the 'ETIMEDOUT' constant is not defined. I am using mingw-w64 based on gcc-4.6.3.

      mongoc/mongoc-thread-private.h:105:17: error: 'ETIMEDOUT' undeclared (first use in this function)
      mongoc/mongoc-topology.c:495:19: error: 'ETIMEDOUT' undeclared (first use in this function)
      mongoc/mongoc-topology.c:730:35: error: 'ETIMEDOUT' undeclared (first use in this function)
      

      In addition mingw-w64 has a few warnings:

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Jeroen Ooms [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: