Building with CMAKE_CXX_STANDARD=20 failed but with CMAKE_CXX_STANDARD=17 success
$ gcc --version
gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a
Linux be52cec1e796 5.15.49-linuxkit #1 SMP Tue Sep 13 07:51:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Building with
CMAKE_CXX_STANDARD=20
failed but withCMAKE_CXX_STANDARD=17
successCmake configure:
Error message: