Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-940

Build errors and warnings on mingw-w64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: mingw
    • Labels:
      None
    • Sprint:
      C Driver 2015Q2 sprint 9

      Description

      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:

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: