create a clean fix for immer exception macros

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2024-01-22, Execution Team 2024-04-29, Execution Team 2024-10-28, Execution Team 2024-11-11, Execution Team 2024-11-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The upstream maintainer is eager to receive a PR from us to fix this.

      Two problems are happeing here.

      1. The detection of exception support is incorrect and fails on GCC.

      2. The macros used by immer to represent throw/try/catch generate warnings in some build modes, as it appears to the compiler like a missing return statement.

      Follow up on SERVER-77694.
      See original ticket for details.

            Assignee:
            Dan Larkin-York
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: