[Bug c++/80026] Regression: passing unresolved function pointer to variadic function template yields "too many arguments" error

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 29 00:22:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80026

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.0.1, 4.2.1                |

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> With a really old gcc such as 4.2.1 the message is also bad:

Because 4.2 doesn't support variadic templates, so it sees it as a basic syntax
error.


More information about the Gcc-bugs mailing list