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

Build errors and warnings on mingw-w64

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.2.1
    • Affects Version/s: 1.2.0
    • Component/s: mingw
    • 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:

        1. warnings.png
          54 kB
          Jeroen Ooms [X]

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

              Created:
              Updated:
              Resolved: