public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/30818] [4.1/4.2/4.3 Regression] templates and typedefs cause function prototype not to match
Date: Fri, 16 Feb 2007 11:25:00 -0000	[thread overview]
Message-ID: <20070216112502.8278.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30818-5268@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-02-16 11:25 -------
EDG happily eats this.  With mainline the error looks like

t.ii:18: error: prototype for ‘typename A<T>::B::type A<T>::B::f()’ does not
match any in class ‘A<T>::B’
t.ii:13: error: candidate is: typename A<T>::type A<T>::B::f()
t.ii:18: error: ‘typename A<T>::B::type A<T>::B::f()’ cannot be overloaded
t.ii:13: error: with ‘typename A<T>::type A<T>::B::f()’
t.ii:18: error: template definition of non-template ‘typename A<T>::B::type
A<T>::B::f()’


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
      Known to fail|4.1.2                       |4.1.2 4.2.0 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-16 11:25:02
               date|                            |
            Summary|[4.1.2 Regression] templates|[4.1/4.2/4.3 Regression]
                   |and typedefs cause function |templates and typedefs cause
                   |prototype not to match      |function prototype not to
                   |                            |match


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


  reply	other threads:[~2007-02-16 11:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 10:30 [Bug c++/30818] New: [4.1.2 " sschunck at pdf dot de
2007-02-16 11:25 ` rguenth at gcc dot gnu dot org [this message]
2007-02-16 13:47 ` [Bug c++/30818] [4.1/4.2/4.3 " rguenth at gcc dot gnu dot org
2007-02-21 15:23 ` rguenth at gcc dot gnu dot org
2007-03-05  3:58 ` mmitchel at gcc dot gnu dot org
2007-04-23 21:26 ` janis at gcc dot gnu dot org
2007-04-23 21:29 ` pinskia at gcc dot gnu dot org
2007-07-21 20:51 ` nathan at gcc dot gnu dot org
2007-07-22 16:26 ` nathan at gcc dot gnu dot org
2007-07-22 16:34 ` nathan at gcc dot gnu dot org
2007-07-23 19:24 ` [Bug c++/30818] [4.1/4.2 " rguenth at gcc dot gnu dot org
2008-07-04 21:58 ` [Bug c++/30818] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 21:35 ` jsm28 at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070216112502.8278.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).