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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.1.5
    • Affects Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: