public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: darren@flyingcolor.com
To: gcc-gnats@gcc.gnu.org
Subject: c++/3073: template member function gives error
Date: Thu, 07 Jun 2001 03:46:00 -0000	[thread overview]
Message-ID: <20010607103743.30503.qmail@sourceware.cygnus.com> (raw)

>Number:         3073
>Category:       c++
>Synopsis:       template member function gives error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 03:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     darren@flyingcolor.com
>Release:        unknown-1.0
>Organization:
>Environment:
gcc version 2.95.2 20000220 (Debian GNU/Linux)
>Description:
A class member function that is a template must appear
before it is used. If it appears after it is used it gives
"Internal compiler error.".

Probably fixed in 3.0 - it compiles at
codesourcery.com's form.
>How-To-Repeat:
g++ -c test2.cpp
Putting run() after process() compiles.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-unknown-content-type-cppfile; name="test2.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test2.cpp"

DQpjbGFzcyBCSVhTZXR7DQppbnQgels0XTsNCnB1YmxpYzoNCnZvaWQgZihCSVhTZXQgJm90aGVy
KXsNCnpbMF09b3RoZXIuelswXTsNCn0NCg0KfTsNCg0KY2xhc3MgVGVzdENhc2Uyew0KcHVibGlj
Og0KQklYU2V0IGEsYjsNCg0KcHVibGljOg0Kdm9pZCBydW4odm9pZCl7DQpCSVhTZXQgeCx5Ow0K
cHJvY2VzcygwLHgseSk7DQp9DQoNCnByb3RlY3RlZDoNCnRlbXBsYXRlPGNsYXNzIEJTPiB2b2lk
IHByb2Nlc3MoY29uc3QgaW50IGQsQlMgJmVuLEJTICZsYil7DQphLmYoZW4pO2IuZihsYik7DQp9
DQoNCn07


             reply	other threads:[~2001-06-07  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-07  3:46 darren [this message]
2001-08-11 12:44 gdr

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=20010607103743.30503.qmail@sourceware.cygnus.com \
    --to=darren@flyingcolor.com \
    --cc=gcc-gnats@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).