Your message dated Sat, 18 Jun 2016 00:52:54 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient GCC versions
has caused the Debian Bug report #502283,
regarding [PR c++/38560] g++-4.3: -Wall option no longer warns about `class 
XXX' has virtual functions but non-virtual destructor
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
502283: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502283
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: g++-4.3
Version: 4.3.2-1
Severity: normal

g++-4.3 in lenny, with option `-Wall', did not complain if a class had
virtual functions but non-virtual destructor.

g++-4.2 also did not complain.

g++-4.1 gave the following warning:
tst.cpp:1: warning: 'class XXX' has virtual functions but non-virtual destructor

//Source code: tst.cpp
class XXX {
    virtual void foo() = 0;
};

int main ()
{
}
//Source code ends.

Command executed:
g++-4.3 -Wall tst.cpp
g++-4.2 -Wall tst.cpp
g++-4.1 -Wall tst.cpp

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.3 depends on:
ii  gcc-4.3                   4.3.2-1        The GNU C compiler
ii  gcc-4.3-base              4.3.2-1        The GNU Compiler Collection (base
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libmpfr1ldbl              2.3.1.dfsg.1-2 multiple precision floating-point
ii  libstdc++6-4.3-dev        4.3.2-1        The GNU Standard C++ Library v3 (d

g++-4.3 recommends no packages.

Versions of packages g++-4.3 suggests:
ii  g++-4.3-multilib             4.3.2-1     The GNU C++ compiler (multilib fil
ii  gcc-4.3-doc                  4.3.0.nf1-1 documentation for the GNU compiler
pn  libstdc++6-4.3-dbg           <none>      (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of
gpc (4.1), gcc/g++/gfortran (4.3), or gcj/gij/gobjc (4.4), that was last
released with Debian 6.0 (squeeze). But even squeeze-lts has now reached
end-of-life and is no longer supported.
The bug is assumed to be fixed (or no longer relevant) in newer GCC
releases and therefore I'm closing this report now. If the problem is
still reproducible in the currently supported versions (gcc-5, gcc-6 or
corresponding g++/gcj), feel free to provide more information, reopen
and reassign this bug report.


Andreas

--- End Message ---

Reply via email to