https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71369
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang's error message is better: <source>:9:10: error: missing 'template' keyword prior to dependent template name 'operator()' functor.operator()<t>(); ^ ~~~ We might have a dup of this one already even.