-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
Programmability 2024-11-25
The immer library which we vendor generates a few instances of -Warray-bounds on GCC 14.2.0. The offending code is in header files that our source files include, so although there are only two code locations that produce the warnings, a very large number of warnings are generated from a large number of locations in our first-party code.
We should (in no particular order) either:
1. Patch the vendored code to silence the warnings with #pragma.
2. Consider removing our uses of the library.
We should seriously consider option #2 because this library is only guaranteed to work against the C++14 standard on GCC 6 and Clang 3.8. We are currently trying to move to GCC 14.2.0 and Clang 19 on C++20 as part of SPM-3825. It's likely that this library will continue to pose more issues in future toolchain upgrades, and the project's use of very outdated compilers undermines confidence that the project will be able to detect and resolve bugs.
- is depended on by
-
SERVER-95407 Upgrade GCC to 14.2
- In Progress