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

Compile error on windows

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0-rc0
    • Affects Version/s: 1.2.1
    • Component/s: None
    • None
    • Environment:
      Windows, msvs 2010

      error C2664: 'CreateThread' : cannot convert parameter 3 from 'void *' to 'LPTHREAD_START_ROUTINE'
      mongo-c-driver\src\mongoc\mongoc-thread-private.h 80

      WinApi CreateThread() expects pointer to function that returns DWORD, but linux system cal pthread_create expects pointer to function that returns void *

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            alexeyvo Alex
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: