From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12725 invoked by alias); 4 Feb 2004 18:42:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12713 invoked by uid 48); 4 Feb 2004 18:42:20 -0000 Date: Wed, 04 Feb 2004 18:42:00 -0000 Message-ID: <20040204184220.12712.qmail@sources.redhat.com> From: "mmitchel at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031117165847.13086.akim@epita.fr> References: <20031117165847.13086.akim@epita.fr> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13086] [3.3/3.4/3.5 regression] the location of the warning message is wrong when calling delete on incomplete type X-Bugzilla-Reason: CC X-SW-Source: 2004-02/txt/msg00540.txt.bz2 List-Id: ------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-04 18:42 ------- Reword this: note: the generated code will not work, unless the class does not have a destructor nor a delete operator. as: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. I believe that takes into account Gaby's and Jason's comments. Then, please check in the patch. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13086