public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/21601] Friend of template argument constructor
Date: Tue, 17 May 2005 16:45:00 -0000	[thread overview]
Message-ID: <20050517164148.13239.qmail@sourceware.org> (raw)
In-Reply-To: <20050516013329.21601.charles.gretton@gmail.com>


------- Additional Comments From bangerth at dealii dot org  2005-05-17 16:41 -------
This is already fixed in gcc4.0 which says 
 
g/x> /home/bangerth/bin/gcc-4*/bin/c++ -c x.cc 
x.cc:5: error: ISO C++ forbids declaration of &#8216;T&#8217; with no type 
x.cc: In instantiation of &#8216;B<A>&#8217;: 
x.cc:14:   instantiated from here 
x.cc:5: error: invalid use of undefined type &#8216;class A&#8217; 
x.cc:14: error: forward declaration of &#8216;class A&#8217; 
 
  
W.  

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


      parent reply	other threads:[~2005-05-17 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16  1:33 [Bug c++/21601] New: " charles dot gretton at gmail dot com
2005-05-16  1:37 ` [Bug c++/21601] " charles dot gretton at gmail dot com
2005-05-17 16:45 ` bangerth at dealii dot org [this message]

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