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

Fix building of ASSERT_THROWS on GCC-8

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.6
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2018-11-05, Service Arch 2018-11-19

      GCC-8 doesn't handle `_Pragma` expansions in macros with respect to `[[nodiscard]]` and similar attributes.  Instead we'll convert to a void-cast, and eliminate variable declarations in `ASSERT_THROWS` statements.

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

              Created:
              Updated:
              Resolved: