public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8633: g++ doesn't resolve typedefs of templated classes properly
@ 2002-11-25 8:59 struppi
0 siblings, 0 replies; only message in thread
From: struppi @ 2002-11-25 8:59 UTC (permalink / raw)
To: gcc-gnats
>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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-19 8:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-25 8:59 c++/8633: g++ doesn't resolve typedefs of templated classes properly struppi
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).