This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/23823] Is this right?


------- Additional Comments From igodard at pacbell dot net  2005-09-12 01:14 -------
Well, you may think it's clear but I am am counter-example :-)  Perhaps
"template parameter" (in the message) is a formal term in the language syntax
specification (who but acompiler maven would know that?), but I expected that
"template parameter" refered to the template parameters, not the template
argument specifications. That is, I thought (in the example) that it referred to
"T, true" in "void    foo::g<T, true>() {}", rather than to "template<typename T>".

That is, you know what the message means only if you already know what it means,
which is by definition a bad diagnostic.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23823


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]