public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: duret_g@epita.fr
To: gcc-gnats@gcc.gnu.org
Subject: c++/4882: fails to lookup a template specialization dependent of an outer template
Date: Sun, 04 Nov 2001 02:38:00 -0000	[thread overview]
Message-ID: <20011115161409.13524.qmail@sourceware.cygnus.com> (raw)


>Number:         4882
>Category:       c++
>Synopsis:       fails to lookup a template specialization dependent of an outer template
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 15 08:16:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     duret_g@epita.fr
>Release:        3.0.2
>Organization:
>Environment:
Debian GNU/Linux i386
>Description:
[I'm sorry if this falls into the "two stage lookup in template" category.  The bugs.html page does not explain
what that means.]

GCC fails to compile the attached file
as follow:

~/tmp % gcc-3.0 c2.cc                                                
c2.cc: In function `int main()':
c2.cc:20: `ret' is not a member of type `C<1, 2>::output<D<8, 1> >'
c2.cc:20: parse error before `;' token
The on-line C/C++ Comeau compiles it just fine.
>How-To-Repeat:
Compile the attached file.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="c2.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="c2.cc"

dGVtcGxhdGU8IHVuc2lnbmVkIGIsIHVuc2lnbmVkIGM+IGNsYXNzIEQge307Cgp0ZW1wbGF0ZTwg
dW5zaWduZWQgaWMsIHVuc2lnbmVkIG9jID4Kc3RydWN0IEMKewogIHRlbXBsYXRlIDxjbGFzcyBU
PgogIHN0cnVjdCBvdXRwdXQgewogIH07CgogIHRlbXBsYXRlIDx1bnNpZ25lZCBRPgogIHN0cnVj
dCBvdXRwdXQ8RDxRLCBpYz4gPgogIHsKICAgIHR5cGVkZWYgRDxRLCBvYz4gcmV0OwogIH07Cgp9
OwoKaW50IG1haW4gKCkKewogIEM8MSwyPjo6b3V0cHV0PEQ8OCwxPiA+OjpyZXQgZzsKfQo=


             reply	other threads:[~2001-11-15 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-04  2:38 duret_g [this message]
2001-11-05  2:51 lerdsuwa
2001-11-05  4:41 lerdsuwa
2002-10-26  2:25 lerdsuwa

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=20011115161409.13524.qmail@sourceware.cygnus.com \
    --to=duret_g@epita.fr \
    --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).