public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: struppi@acm.org To: gcc-gnats@gcc.gnu.org Subject: c++/8633: g++ doesn't resolve typedefs of templated classes properly Date: Mon, 25 Nov 2002 08:59:00 -0000 [thread overview] Message-ID: <20021119082203.31006.qmail@sources.redhat.com> (raw) >Number: 8633 >Category: c++ >Synopsis: g++ doesn't resolve typedefs of templated classes properly >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Nov 19 00:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: struppi@acm.org >Release: unknown-1.0 >Organization: >Environment: Debian 3.0 woody GNU/Linux, g++-3.2 >Description: g++ doesn't recognize ios as a virtual base class. The problem is the same if I include <ios> instead of the typedef at the top, but the preprocessed file would be much larger. :-) The problem goes away, if I substitute the initializer std::ios by basic_ios<char> in the c'tor of Derived. >How-To-Repeat: g++-3.2 -Wall -ansi -pedantic -E v.cc > v.E >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="v.E" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="v.E" IyAxICJ2LmNjIgojIDEgIjxidWlsdC1pbj4iCiMgMSAiPGNvbW1hbmQgbGluZT4iCiMgMSAidi5j YyIKCm5hbWVzcGFjZSBzdGQgewp0ZW1wbGF0ZTxjbGFzcyBUPgpjbGFzcyBiYXNpY19pb3Mgewp9 OwoKdHlwZWRlZiBiYXNpY19pb3M8Y2hhcj4gaW9zOwp9CgpzdHJ1Y3QgQmFzZSA6IHZpcnR1YWwg cHVibGljIHN0ZDo6aW9zIHsKICBCYXNlKCkgOiBzdGQ6OmlvcygpIHt9Cn07CgpzdHJ1Y3QgRGVy aXZlZCA6IHB1YmxpYyBCYXNlIHsKICBEZXJpdmVkKCkgOiBzdGQ6OmlvcygpLCBCYXNlKCkge30K fTsK
reply other threads:[~2002-11-19 8:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021119082203.31006.qmail@sources.redhat.com \ --to=struppi@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).