From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7773 Path: news.gmane.org!not-for-mail From: Alex Dowad Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH v2] When building, don't use compiler flags which cause warnings Date: Tue, 26 May 2015 20:55:19 +0200 Message-ID: <5564C197.6020404@gmail.com> References: <20150526181830.GD17573@brightrain.aerifal.cx> <1432665405-26308-1-git-send-email-alexinbeijing@gmail.com> <20150526184723.GE17573@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432666544 31106 80.91.229.3 (26 May 2015 18:55:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2015 18:55:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7785-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 26 20:55:44 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YxK0s-0003jV-Ug for gllmg-musl@m.gmane.org; Tue, 26 May 2015 20:55:43 +0200 Original-Received: (qmail 26623 invoked by uid 550); 26 May 2015 18:55:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26605 invoked from network); 26 May 2015 18:55:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wQXlGkeTXlLOVlY7HMNe2w+SLKKiO4nkHzAvfibwWuM=; b=FY3dtaJgHwi9W6ObnofyrKcp3BacJaRE8hSTDv7hhI9KuN2AkRw4a8KebP4XHbZgIL bpz1wPYTn1RQEEwUoJd6VTqL63qoftakBu6wkSusNNNLDuXbfNISGMvCVWYhd76IY3UI Ph+tZj1uWnMhyeECgaA8tn4gfZfgGScGGf7/Yv7RhdyxjLepphBYHBhV7HFuxcipFTlf GKCQmiFoMziONaIQ6tyAjj0CK6sUVagrEJKm/r0W/ELeoHWFzGQFvwqGooH29Tzrjvs8 P5Nvzayva4lBKlnxIeOblgURvns/V0TU1nOjv7TQQb3Ykp+KQUxQyO7pqX4r9RwM+bHG o+xQ== X-Received: by 10.180.72.176 with SMTP id e16mr18714643wiv.12.1432666529265; Tue, 26 May 2015 11:55:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <20150526184723.GE17573@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:7773 Archived-At: On 26/05/15 20:47, Rich Felker wrote: > On Tue, May 26, 2015 at 08:36:45PM +0200, Alex Dowad wrote: >> This silences some warnings when building with clang. >> --- >> Dear Rich Felker, >> >> This accomplishes the same thing as the previous patch by "promoting" all >> warnings to errors. Look better? > No, it has exactly the same problem -- it treats any spurious warnings > which the chosen $CC might produce as a failure of the test. OK, understood. It doesn't look like there is any way to treat ignored options as errors, unfortunately. Thanks for reviewing the patches, AD