Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1131

Suppress deprecation warning for mongoc_collection_find()

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      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.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: