From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6255 invoked by alias); 11 May 2003 10:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6236 invoked by uid 71); 11 May 2003 10:06:01 -0000 Date: Sun, 11 May 2003 10:06:00 -0000 Message-ID: <20030511100601.6235.qmail@sources.redhat.com> To: gdr@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: c++/689: [2003-05-03] [diagnostic] this warning is not helpful: `class xxxx' only defines a private destructor and has no friend Reply-To: Gabriel Dos Reis X-SW-Source: 2003-05/txt/msg01066.txt.bz2 List-Id: The following reply was made to PR c++/689; it has been noted by GNATS. From: Gabriel Dos Reis To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nathan@gcc.gnu.org, jeff@elrancho.com Cc: Subject: Re: c++/689: [2003-05-03] [diagnostic] this warning is not helpful: `class xxxx' only defines a private destructor and has no friend Date: Sun, 11 May 2003 12:00:16 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=689 Jeff -- I can't tell you how helpful or unhelpul that warning is. However, g++ does provide an option to turn it on and off -Wctor-dtor-privacy -Wno-ctor-dtor-privacy Maybe turning this warning on only if -Wextra is specified might be less restrictive than the current situation. I'm going to reclassify this PR. Thanks, -- Gaby