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

Compiler warning on mingw-w64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Compiler warning with 1.5.0rc6 on mingw-w64:

      mongoc/mongoc-handshake.c: In function '_get_os_version':
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 5 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:209:22: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD' [-Wformat]
      mongoc/mongoc-handshake.c:212:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD' [-Wformat]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              Jeroenooms Jeroen Ooms [X] (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: