From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21804 invoked by alias); 4 Jun 2012 18:24:40 -0000 Received: (qmail 21794 invoked by uid 22791); 4 Jun 2012 18:24:38 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jun 2012 18:24:24 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q54IONfJ003036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Jun 2012 14:24:23 -0400 Received: from [10.3.113.55] (ovpn-113-55.phx2.redhat.com [10.3.113.55]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q54IONoe010665; Mon, 4 Jun 2012 14:24:23 -0400 Message-ID: <4FCCFD56.3030900@redhat.com> Date: Mon, 04 Jun 2012 18:24:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Paolo Carlini CC: "gcc-patches@gcc.gnu.org" Subject: Re: [C++ Patch] PR 53524 References: <4FC74B63.3020005@oracle.com> <4FC78389.9080809@redhat.com> <4FC7864C.9010206@oracle.com> <4FCCE87C.1070305@redhat.com> <4FCCF5C4.3020006@oracle.com> In-Reply-To: <4FCCF5C4.3020006@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-06/txt/msg00228.txt.bz2 On 06/04/2012 01:52 PM, Paolo Carlini wrote: > Ok, this would be simple to do. The only issue I can see, is that in C++ > -Wenum-compare has a name, thus can be easily disabled but it's ON by > default. The warning is already on by default, so that wouldn't be a change; this just creates a way for users to turn it off until we deal with the unhelpful case. Jason