public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5529: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates
@ 2002-05-19  5:01 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-05-19  5:01 UTC (permalink / raw)
  To: coola, gcc-bugs, gcc-prs, nobody

Synopsis: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 19 05:01:23 2002
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5529


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5529: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates
@ 2003-01-11 20:39 neroden
  0 siblings, 0 replies; 3+ messages in thread
From: neroden @ 2003-01-11 20:39 UTC (permalink / raw)
  To: coola, gcc-bugs, gcc-prs, nobody

Synopsis: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates

State-Changed-From-To: analyzed->closed
State-Changed-By: neroden
State-Changed-When: Sat Jan 11 12:39:53 2003
State-Changed-Why:
    With the new parser (on mainline) we get this error:
    test.cxx:5: error: partial specialization `getval<Q, Policy>' of function
       template

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5529


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/5529: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates
@ 2002-01-29  5:36 Andrey R. Urazov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey R. Urazov @ 2002-01-29  5:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5529
>Category:       c++
>Synopsis:       ugly and unclear error message reporting that partial template specialization is not allowed for member function templates
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 05:36:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrey R. Urazov
>Release:        3.0.3
>Organization:
student of Novosibirsk State Technical University
>Environment:
System: Linux localhost 2.2.14-5.0 #19 Tue Jul 24 02:12:27 NOVST 2001 i586 unknown
Architecture: i586

	
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../gcc-3.0.3/configure --enable-languages=c,c++ --disable-nls
>Description:
	Instead of reporting that partial template specializatins are not
        allowed for member function templates, gcc outputs an unclear message:

template_test.cpp:5: sorry, not implemented: `component_ref' not supported by
        dump_decl
template_test.cpp:5: partial specialization `<declaration error><Q, Policy>' of 
        function template
              
>How-To-Repeat:

struct Policy {};
    
struct B {
    template<class Q, class W> int getval();
    template<class Q> int getval<Q, Policy>();
};

>Fix:
	fix dump_decl :)
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-11 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-19  5:01 c++/5529: ugly and unclear error message reporting that partial template specialization is not allowed for member function templates lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-01-11 20:39 neroden
2002-01-29  5:36 Andrey R. Urazov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).