Comment 14 for bug 1983852

Revision history for this message
MichaƂ Sawicz (saviq) wrote : Re: `forming offset [32, 36] is out of the bounds` error with precompiled headers

@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?