public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: nathan@acm.org To: gcc-gnats@gcc.gnu.org Subject: c++/7314: templated qualified name lookup fails Date: Mon, 15 Jul 2002 07:56:00 -0000 [thread overview] Message-ID: <20020715145301.15635.qmail@sources.redhat.com> (raw) >Number: 7314 >Category: c++ >Synopsis: templated qualified name lookup fails >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Mon Jul 15 07:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: nathan@acm.org >Release: 2.95, 3.1 >Organization: >Environment: >Description: The attached program fails to compile with, nathan@manao:208>g++ -c foo.cc foo.cc: In member function `void Outer::Arg::Foo(T*) [with T = int]': foo.cc:14: instantiated from here foo.cc:6: no method `Outer::Arg::NotOk<int>' which is wrong >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="foo.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="foo.cc" c3RydWN0IE91dGVyIHsKICBzdHJ1Y3QgQXJnIHsKICAgIHRlbXBsYXRlIDx0eXBlbmFtZSBUPiBp bmxpbmUgdm9pZCBGb28gKFQgKikgdGhyb3cgKCkKICAgIHsKICAgICAgT2s8VD4gKCk7CiAgICAg IEFyZzo6Tm90T2s8VD4gKCk7CiAgICB9CiAgICB0ZW1wbGF0ZTx0eXBlbmFtZSBUPiB2b2lkICpP ayAoKTsKICAgIHRlbXBsYXRlPHR5cGVuYW1lIFQ+IHZvaWQgKk5vdE9rICgpOwogIH07Cn07CnZv aWQgRm9vIChPdXRlcjo6QXJnICZhLCBpbnQgKmkpCnsKICBhLkZvbyAoaSk7Cn0K
next reply other threads:[~2002-07-15 14:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-07-15 7:56 nathan [this message] 2002-07-20 9:20 lerdsuwa 2002-10-26 2:00 lerdsuwa 2002-10-31 7:16 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=20020715145301.15635.qmail@sources.redhat.com \ --to=nathan@acm.org \ --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: linkBe 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).