@Richard correct, if you skip the precompilation, it compiles fine:
``` $ rm cmake_pch.hxx.gch $ /usr/bin/g++-12 -I/usr/src/googletest/googlemock/include -O2 -std=c++20 -include cmake_pch.hxx -c tmp.cpp $ ```
@Richard correct, if you skip the precompilation, it compiles fine:
``` src/googletest/ googlemock/ include -O2 -std=c++20 -include cmake_pch.hxx -c tmp.cpp
$ rm cmake_pch.hxx.gch
$ /usr/bin/g++-12 -I/usr/
$
```