[sr-dev] [kamailio/kamailio] ndb_mongodb: fix deprecation warning (#1499)

Victor Seva notifications at github.com
Fri Apr 13 10:35:43 CEST 2018


Since 1.5.0 mongoc_collection_find() is deprecated
> http://mongoc.org/libmongoc/1.5.0/mongoc_collection_find.html

https://travis-ci.org/kamailio/kamailio/jobs/365964042 (dev-sid)

> CC (clang) [M ndb_mongodb.so]		mongodb_client.o
> mongodb_client.c:290:18: warning: 'mongoc_collection_find' is deprecated [-Wdeprecated-declarations]
>                         rpl->cursor = mongoc_collection_find (rpl->collection,
>                                       ^
> /usr/include/libmongoc-1.0/mongoc-collection.h:155:1: note: 'mongoc_collection_find' has been explicitly marked deprecated here
> mongoc_collection_find (mongoc_collection_t *collection,
> ^
> 1 warning generated.

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1499

-- Commit Summary --

  * ndb_mongodb: fix deprecation warning

-- File Changes --

    M src/modules/ndb_mongodb/mongodb_client.c (21)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1499.patch
https://github.com/kamailio/kamailio/pull/1499.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1499
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180413/2dd808ab/attachment.html>


More information about the sr-dev mailing list