https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88175
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > string dummy; // for some reason this is needed to force the error to be > shown as header.h:8:16: causes the struct to be a non-POD and the copy constructor to be created differently.