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

Need to add mongoc-client-pool-private.h in mongoc-client-pool-private.c

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 1.1.5
    • 1.1.2
    • None
    • None

    Description

      the function mongoc_client_pool_get_size() is declared in mongoc-client-pool-private.h and its implementation in mongoc-client-pool-private.c.

      The issue is mongoc-client-pool-private.c doesn't include mongoc-client-pool-private.h, therefore, the compiler doesn't see the declaration of this function while compiling the implementation of this function. There is a warning on OS X.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jeromelebel Jerome Lebel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: