This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15214] Warning non-virtual-dtor too strict
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2004 17:01:28 -0000
- Subject: [Bug c++/15214] Warning non-virtual-dtor too strict
- References: <20040430001804.15214.tmarshall@real.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-28 17:01 -------
Subject: Bug 15214
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-05-28 17:01:21
Modified files:
gcc/cp : ChangeLog class.c
Log message:
PR c++/15214
* class.c (finish_struct_1): Warn only if the dtor is non-private or
the class has friends.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4060&r2=1.4061
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.614&r2=1.615
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15214