Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27244

Status class should have gnu::warn_unused_result attribute

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.9
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Platforms 2017-06-19

    Description

      Far too many places are silently not checking the Statuses returned by functions. We should add this attribute and make all existing silent ignores either check the Status or use a void cast to explicitly ignore it.

      Attachments

        Activity

          People

            adam.martin@mongodb.com ADAM Martin (Inactive)
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: