Add Ubuntu 21.10 build and test jobs to CI
Also fixes a few warnings that turned up as errors in the CMake builds thanks to -Werror
.
Closes #2141 (closed).
Also fixes a few warnings that turned up as errors in the CMake builds thanks to -Werror
.
Closes #2141 (closed).