Summary
WiredTiger does not compile with the following flags set together:
- ENABLE_STRICT=1
- CMAKE_BUILD_TYPE=Release
Motivation
- Does this affect any team outside of WT?
Anyone who tries to compile with those flags
- How likely is it that this use case or problem will occur?
Every time we use those flags together
- If the problem does occur, what are the consequences and how severe are they?
WiredTiger does not compile
- Is this issue urgent?
I am not sure if those flags are expected to be incompatible.
Acceptance Criteria (Definition of Done)
If those flags should work together, WiredTiger should compile with the following commands:
mkdir build cd build cmake -DENABLE_STRICT=1 -DCMAKE_BUILD_TYPE=Release -G Ninja ../. ninja
The current output is:
../ext/test/fail_fs/fail_fs.c: In function 'fail_fs_allocate_lock': ../ext/test/fail_fs/fail_fs.c:116:41: error: unused parameter 'lockp' [-Werror=unused-parameter] fail_fs_allocate_lock(pthread_rwlock_t *lockp)
Note: If RelWithDebInfo is used for CMAKE_BUILD_TYPE, the same issue occurs.
- related to
-
WT-9189 Add the build type RelWithDebInfo to CMake
- Closed