re PR c++/15214 (Warning non-virtual-dtor too strict)
authorTom Marshall <tmarshall@real.com>
Fri, 28 May 2004 17:01:20 +0000 (17:01 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 28 May 2004 17:01:20 +0000 (13:01 -0400)
commit9fd8f60d1dd31235b31af53659807573b4b53c50
treece5870aff037c16b158c02fb51ded76fdc412d23
parentd1a7edafe6a978e8f380a74f1f6d386d871bf417
re PR c++/15214 (Warning non-virtual-dtor too strict)

        PR c++/15214
        * class.c (finish_struct_1): Warn only if the dtor is non-private or
        the class has friends.

From-SVN: r82366
gcc/cp/ChangeLog
gcc/cp/class.c