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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.4.7
            Summary|Wrong error message for     |[8/9/10 Regression] Wrong
                   |template member function    |error message for template
                   |specialization              |member function
                   |                            |specialization
      Known to fail|                            |10.0, 4.5.4, 8.3.0, 9.2.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The "saw 1 'template<>', need 2 for specializing a member function template"
note is completely bogus, confusing, and wasn't present in GCC 4.4, so I'm
marking this as a diagnostic regression.

We should drop the incorrect note in this situation, and adding Clang's note
about the *real* cause would be a nice bonus.

Reply via email to