Reduce compiler warning flood on Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Compiling mongoc on VS Studio 2015 results in 182 compiler warnings.

      84 of these warnings can be avoided quite easily by setting _CRT_SECURE_NO_WARNINGS and casting to DWORD in SleepConditionVariableCS

      Thats a pretty high gain for trivial changes, allowing at least that much easier spotting of actual problems.

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: