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

Pedantic warning on Ubuntu 16.04

    XMLWordPrintable

    Details

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

      Description

      Ubuntu has another pedantic C99 warning:

      mongoc/mongoc-uri.c: In function ‘mongoc_uri_parse_option’:
      mongoc/mongoc-uri.c:765:10: warning: ISO C does not support %n$ operand number formats [-Wformat=]
                MONGOC_WARNING ("Deprecated boolean value for \"%1$s\": \"%2$s\", "
                ^
      mongoc/mongoc-uri.c:774:10: warning: ISO C does not support %n$ operand number formats [-Wformat=]
                MONGOC_WARNING ("Deprecated boolean value for \"%1$s\": \"%2$s\", "
                ^
      

        Attachments

          Activity

            People

            Assignee:
            jesse A. Jesse Jiryu Davis
            Reporter:
            Jeroenooms Jeroen Ooms [X] (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: