https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106799

--- Comment #2 from michal at sawicz dot net ---
@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
$
```

Reply via email to