From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16686 invoked by alias); 13 May 2012 11:03:54 -0000 Received: (qmail 16678 invoked by uid 22791); 13 May 2012 11:03:53 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 May 2012 11:03:41 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1STWaR-0006Yd-Pz from joseph_myers@mentor.com ; Sun, 13 May 2012 04:03:39 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 13 May 2012 12:03:38 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1STWaO-0001va-RS; Sun, 13 May 2012 11:03:36 +0000 Date: Sun, 13 May 2012 11:03:00 -0000 From: "Joseph S. Myers" To: =?ISO-8859-1?Q?Manuel_L=F3pez=2DIb=E1=F1ez?= cc: Gcc Patch List , Arnaud Charlet Subject: Re: make conflicting help text an error In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1152306461-636715993-1336907016=:23868" 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-05/txt/msg00876.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1152306461-636715993-1336907016=:23868 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Content-length: 941 On Sun, 13 May 2012, Manuel L=F3pez-Ib=E1=F1ez wrote: > Hi, >=20 > These warnings are invisible when building but they may help to detect > if an option is duplicated somewhere else with different purpose , so > it would be better to make this an error, >=20 > Only 2 options in Ada trigger this warning, and their help text has no > effect, since it gest overridden by the ones in c.opt. Fixing this > properly would require language-specific namespace, so two options > with the same name in different languages can have completely > different help text (and Init() and other flags). Not something I am > planning to work on in the future. >=20 > OK? This is OK. I don't think we want to support different help strings for=20 different languages; if an option is supported for multiple languages, we=20 should have a generic description of that option that is correct for all=20 of them. --=20 Joseph S. Myers joseph@codesourcery.com= ---1152306461-636715993-1336907016=:23868--