https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98306
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is only a warning (pedwarn in particular, error with -pedantic-errors) in the uninstantiated template, if you instantiate the template and the type is still incomplete, you get hard error.