https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67621
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org Resolution|INVALID |DUPLICATE --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to physik3 from comment #2) > Would it be hard to implement that GCC prints a message like "Did you forget > keyword template?" in this situation? It seems it is because nobody has fixed it in the last 11 years. A first step would be to identify in gcc/cp/parser.c when g++ parses "<" then decides that this cannot be a template argument (but perhaps it is decided earlier, when it checks that no 'template' keyword was given). Any help welcome, too many things to fix in GCC and too few people to work on them. *** This bug has been marked as a duplicate of bug 16233 ***