Fix building of ASSERT_THROWS on GCC-8

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            ADAM Martin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: