-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
SP Prioritized List
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In SPM-3825, we suppressed a number of warnings emitted by the new compilers, some of which we did not immediately identify as being required or advisable long-term. Review all instances of MONGO_COMPILER_DIAGNOSTIC_IGNORED_TRANSITIONAL in the files owned by Server Programmability listed below.
For each instance, either
- fix the code that causes the warning to be emitted and remove the suppression macros, or
- create a new macro similar to MONGO_COMPILER_DIAGNOSTIC_WORKAROUND_BOOST_SMALL_VECTOR and rewrite the TRANSITIONAL macro to use the WORKAROUND macro. Document why the suppression needs to remain in the codebase long-term.
File list:
src/mongo/db/client_strand.h src/mongo/platform/compiler.h src/mongo/util/future_impl.h src/mongo/util/future_test_future_int.cpp src/mongo/util/intrusive_counter.h
- is depended on by
-
SERVER-102303 Remove the MONGO_COMPILER_DIAGNOSTIC_IGNORED_TRANSITIONAL macro
-
- Blocked
-
- is related to
-
SERVER-101881 Reevaluate Future move semantics
-
- Backlog
-
-
SERVER-101026 v5 toolchain gcc false positives
-
- Closed
-
-
SERVER-97447 Clean up v4 toolchain compatibility artifacts
-
- Closed
-
- related to
-
SERVER-101026 v5 toolchain gcc false positives
-
- Closed
-