[CXX-1131] Suppress deprecation warning for mongoc_collection_find() Created: 15/Nov/16  Updated: 20/Dec/16  Resolved: 20/Dec/16

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: J Rassi Assignee: David Golden
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1528 Deprecate mongoc_collection_find Closed

 Description   

mongoc_collection_find() was deprecated in CDRIVER-1528, and is declared with __attribute__(deprecated(...)) as of 1.5.0, if the attribute is supported by the compiler. This generates compiler warnings when compiling versions of mongocxx that use this function (all previously-released versions of 3.0.x).

We should suppress this warning.



 Comments   
Comment by David Golden [ 20/Dec/16 ]

Users who wish to remain on the 3.0.x series can use an older version of libmongoc to avoid this issue. Given this workaround, we have no plans for a 3.0.x release.

Generated at Wed Feb 07 22:01:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.