https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90415
Lei YU <mine260309 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mine260309 at gmail dot com --- Comment #6 from Lei YU <mine260309 at gmail dot com> --- This issue prevents using std::any with gmock, which I need it for the unit tests to pass the build. There are related SO questions: * https://stackoverflow.com/questions/57332965/incomplete-type-for-stdany-when-gmocking-interface * https://stackoverflow.com/questions/57387245/using-stdany-with-gmock-result-in-different-behavior-on-gcc-79 @Jonathan Wakely Is there a quick fix for this? I would like to test it.