public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/8463: std::ios_base has a non-virtual destructor
@ 2002-11-06 9:02 bkoz
0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2002-11-06 9:02 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, john_maddock
Synopsis: std::ios_base has a non-virtual destructor
State-Changed-From-To: feedback->closed
State-Changed-By: bkoz
State-Changed-When: Wed Nov 6 09:02:51 2002
State-Changed-Why:
Fixed in mainline.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8463
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libstdc++/8463: std::ios_base has a non-virtual destructor
@ 2002-11-05 8:29 bkoz
0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2002-11-05 8:29 UTC (permalink / raw)
To: bkoz, gcc-bugs, gcc-prs, john_maddock, nobody
Synopsis: std::ios_base has a non-virtual destructor
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue Nov 5 08:29:46 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Tue Nov 5 08:29:46 2002
State-Changed-Why:
You are correct.
2002-11-05 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/8463 * include/bits/ios_base.h (~ios_base): Make virtual. Index: include/bits/ios_base.h =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/ios_base.h,v retrieving revision 1.19 diff -c -p -r1.19 ios_base.h *** include/bits/ios_base.h 24 Jul 2002 23:17:12 -0000 1.19 --- include/bits/ios_base.h 5 Nov 2002 16:26:39 -0000 *************** namespace std *** 414,420 **** } // Destructor ! ~ios_base(); protected: ios_base(); --- 414,420 ---- } // Destructor ! virtual ~ios_base(); protected: ios_base();
Sadly, this cannot be applied to the gcc-3_2-branch at the moment as it changes the libstdc++ ABI.
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8463
^ permalink raw reply [flat|nested] 3+ messages in thread
* libstdc++/8463: std::ios_base has a non-virtual destructor
@ 2002-11-05 5:06 john_maddock
0 siblings, 0 replies; 3+ messages in thread
From: john_maddock @ 2002-11-05 5:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 8463
>Category: libstdc++
>Synopsis: std::ios_base has a non-virtual destructor
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Tue Nov 05 05:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: john_maddock@compuserve.com
>Release: gcc-3.2
>Organization:
>Environment:
SUSE linux 7.0
>Description:
std::ios_base has a non-virtual destructor, when the standard clearly requires a virtual destructor.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-06 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 9:02 libstdc++/8463: std::ios_base has a non-virtual destructor bkoz
-- strict thread matches above, loose matches on Subject: below --
2002-11-05 8:29 bkoz
2002-11-05 5:06 john_maddock
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).