Version Tested with Ubuntu clang version 20.0.0 (++20240727042143+9a3e66e314e6-1~exp1~20240727042317.1828) (same clangd, libc++ etc.) How to run Run make check and you should be able to see the error.