@Dan @Simon yes, still here on kinetic:
$ g++ --version g++ (Ubuntu 12.2.0-3ubuntu1) 12.2.0
$ /usr/bin/g++-12 -I/usr/src/googletest/googlemock/include -O2 -std=c++20 -include cmake_pch.hxx -include cmake_pch.hxx -x c++-header -o cmake_pch.hxx.gch -c cmake_pch.hxx.cxx
$ /usr/bin/g++-12 -I/usr/src/googletest/googlemock/include -O2 -std=c++20 -include cmake_pch.hxx -c tmp.cpp
# blowup
Are you sure it's using the precompiled header for you?
@Dan @Simon yes, still here on kinetic:
$ g++ --version
g++ (Ubuntu 12.2.0-3ubuntu1) 12.2.0
$ /usr/bin/g++-12 -I/usr/ src/googletest/ googlemock/ include -O2 -std=c++20 -include cmake_pch.hxx -include cmake_pch.hxx -x c++-header -o cmake_pch.hxx.gch -c cmake_pch.hxx.cxx
$ /usr/bin/g++-12 -I/usr/ src/googletest/ googlemock/ include -O2 -std=c++20 -include cmake_pch.hxx -c tmp.cpp
# blowup
Are you sure it's using the precompiled header for you?