-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
-
3
-
StorEng - Defined Pipeline
SEAI-195 discussion identified the use case of "experimental or exploratory development" (for example: Skunkworks) that is inhibited or slowed down by stopping the build when warnings are treated as errors. For example this use case a warning such as "unused function" is clearly benign.
To support the above use case the following CMake flag should be added:
-DWERROR=[ON|OFF]
This is a specialized use case that must be explicitly selected when running CMake and will default to ON, consistent with the project policy of no warnings in the code.
This will require adding this option to the build system which specifically prevents treating warnings as errors for all support build toolchains: gcc, clang, msvc.