This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17648] template destructor was not called for inherited classes
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2004 12:42:38 -0000
- Subject: [Bug c++/17648] template destructor was not called for inherited classes
- References: <20040924081036.17648.hs@profiforms.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-09-24 12:42 -------
I can compile and link your program just fine with gcc versions
2.95.3, 3.2.3, 3.3.5, 3.4.2, and present mainline. The only
output I see at all is this:
g/x> /home/bangerth/bin/gcc-4*/bin/c++ x.cc
In file included
from /home/bangerth/bin/gcc-4.0-pre/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/backward/iostream.h:31,
from x.cc:2:
/home/bangerth/bin/gcc-4.0-pre/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2
of the C++ standard. Examples include substituting the <X> header for the
<X.h> header for C++ includes, or <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
The warning message should be selfexplanatory: since the 1998 standard, you
should use
#include <iostream>
instead of
#include <iostream.h>
Can you be more specific about what exactly the problem is that you are
seeing? German language descriptions would also be fine.
Thanks
Wolfgang
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17648