public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5507: Overzealous implicit typename warning
@ 2002-03-20 13:18 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-03-20 13:18 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, nobody, pcarlini

Synopsis: Overzealous implicit typename warning

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Wed Mar 20 13:18:02 2002
Responsible-Changed-Why:
    me
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Wed Mar 20 13:18:02 2002
State-Changed-Why:
    yup & regression I guess

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


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

* Re: c++/5507: Overzealous implicit typename warning
@ 2002-04-10  2:41 nathan
  0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2002-04-10  2:41 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, pcarlini

Synopsis: Overzealous implicit typename warning

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Apr 10 02:41:34 2002
State-Changed-Why:
    Fixed on mainline & 3.1 branch
    2002-04-10  Nathan Sidwell  <nathan@codesourcery.com>
    
            PR c++/5507
            * decl.c (make_typename_type): Remove implicit typenameness.

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


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

* c++/5507: Overzealous implicit typename warning
@ 2002-01-27 12:46 pcarlini
  0 siblings, 0 replies; 3+ messages in thread
From: pcarlini @ 2002-01-27 12:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5507
>Category:       c++
>Synopsis:       Overzealous implicit typename warning
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 27 12:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paolo Carlini
>Release:        3.1 20020127 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
The following snippet:
/////////////
template<typename _CharT>
class __ctype_abstract_base
{
  typedef int mask;
};

template<typename _CharT>
class ctype : public __ctype_abstract_base<_CharT>
{
  typedef typename ctype::mask mask;
};
/////////////

Triggers:

testcase2.cc:10: warning: `typename ctype<_CharT>::mask' is implicitly a
   typename
testcase2.cc:10: warning: implicit typename is deprecated, please see the
   documentation for details

And it should'nt. See also:

http://gcc.gnu.org/ml/libstdc++/2001-12/msg00336.html
>How-To-Repeat:

>Fix:
Refine the code which went in with:
http://gcc.gnu.org/ml/gcc-patches/2001-12/msg00128.html
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-04-10  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-20 13:18 c++/5507: Overzealous implicit typename warning nathan
  -- strict thread matches above, loose matches on Subject: below --
2002-04-10  2:41 nathan
2002-01-27 12:46 pcarlini

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).