From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5681 invoked by alias); 8 Feb 2010 14:25:53 -0000 Received: (qmail 5486 invoked by uid 48); 8 Feb 2010 14:25:41 -0000 Date: Mon, 08 Feb 2010 14:25:00 -0000 Message-ID: <20100208142541.5485.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "albrt2000 at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-02/txt/msg00719.txt.bz2 ------- Comment #13 from albrt2000 at gmail dot com 2010-02-08 14:25 ------- > > struct A { > virtual ~A(); > }; > > A::~A() = default; > > I think this should be OK (but maybe not in GCC 4.4 only in 4.5) > This already works in gcc 4.4.1 that I use. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42983