From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23691 invoked by alias); 5 Jan 2007 06:41:13 -0000 Received: (qmail 23681 invoked by uid 22791); 5 Jan 2007 06:41:12 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-105-friday.nerim.net (HELO kraid.nerim.net) (62.4.16.105) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 Jan 2007 06:41:07 +0000 Received: from zeus.integrable-solutions.net (gdr.net1.nerim.net [62.212.99.186]) by kraid.nerim.net (Postfix) with ESMTP id 17B0440FDD; Fri, 5 Jan 2007 07:41:02 +0100 (CET) Received: from zeus.integrable-solutions.net (localhost [127.0.0.1]) by zeus.integrable-solutions.net (8.13.3/8.13.3/SuSE Linux 0.7) with ESMTP id l056esUC000473; Fri, 5 Jan 2007 07:40:56 +0100 Received: (from gdr@localhost) by zeus.integrable-solutions.net (8.13.3/8.13.3/Submit) id l056esTr000472; Fri, 5 Jan 2007 07:40:54 +0100 To: Andrew Pinski Cc: drow@false.org (Daniel Jacobowitz), Andrew_Pinski@PlayStation.Sony.Com, gcc-patches@gcc.gnu.org Subject: Re: [PATCH, C++] Make Canonical ICE instead of just warn when mismatching References: <200701050000.l0500MfN029957@localhost.localdomain> From: Gabriel Dos Reis In-Reply-To: <200701050000.l0500MfN029957@localhost.localdomain> Date: Fri, 05 Jan 2007 06:41:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2007-01/txt/msg00339.txt.bz2 Andrew Pinski writes: [...] | Again the warning is useless to the user as it is an internal GCC issue | rather than a problem with their code. Labeling the diagnotics "warning: " is indeed confusing; I should have caught that earlier. Still the diagnotic is useful to us, however useless you think it is for user. So we want to know about it. Consequently, I think warning() or error() is NOT a good thing. We should either issue sorry() or invent a new diagnostic category -- we only need an enumerator and a forwarding function for that. -- Gaby