[Bug c++/23263] Fails to identify member definition

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Sat Aug 6 20:40:00 GMT 2005


------- Additional Comments From igodard at pacbell dot net  2005-08-06 20:40 -------
Reopened as a complaint about the diagnostic. The naive (or even reasonably
sophisticated) user cannot figure out "illegal partial specialization" from that
message.

Comeau gives:

"ComeauTest.c", line 7: error: template argument list must match the parameter list
  template<typename T> A<void>* bar<T,A>::p = 0;
                                ^

which I admit is only a little better.

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


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



More information about the Gcc-bugs mailing list