[SERVER-78430] create a clean fix for immer exception macros Created: 26/Jun/23  Updated: 02/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Dan Larkin-York
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77694 cannot compile `immer` header with `-... Closed
Assigned Teams:
Storage Execution
Sprint: Execution Team 2024-01-22, Execution Team 2024-04-15
Participants:

 Description   

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.


Generated at Thu Feb 08 06:38:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.