From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c06::231; helo=mail-io0-x231.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 81F9422135D45 for ; Wed, 7 Mar 2018 01:06:05 -0800 (PST) Received: by mail-io0-x231.google.com with SMTP id h23so2233569iob.11 for ; Wed, 07 Mar 2018 01:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=um3DCzo2esvTu4eFqzfLDoTgF1diW8TZndpG8OUkJdE=; b=fffuryBRS61cfSzhY4YdiXmvCt+YQKNPmh+oL/fPyLpxQvxMtCc5TUU5eNbCD4sf4i mcqlZTgTs7TNmczJ1RNHzbvKrwLAE9WvYG7gQ3NTy4I3fIjtJAzZ6Mw4Qsb04pOHvVL5 u9IiPxQckZEHp2YaI8HnsDhQ5aXOlVDeY/q9s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=um3DCzo2esvTu4eFqzfLDoTgF1diW8TZndpG8OUkJdE=; b=pjT0htrroJk6ACprH5hFJ7s8wh8+lLNRm0U28/RvDjdJ9bvhsqsuz8bmh3n/InoAcD VDjA6dr1rV/EQ0z37JEa9KFS8VZJ971LRZQLxfYnQoeUhjJ8UAwvp/kKonRfLXLp8to7 4FYGv5IpYqm8bQnCmcf0kc/QLMpHgBvcWTgGOLKI5m4bVFZUZOTUVxCsppqhNxfNUmRa cOmgkwMxHfKuhwQYFRDtjzdi8HswGIGpymEGtzxgvPITjRatrONqSR9hZ+YJ0KWV5V4Z 4STJtKwQrPBk+TY5mqjytEpkSpoDdFJynsymDPCgAsBt/8BgIj/u0hwi/eD4cI5Eq67q iNSw== X-Gm-Message-State: APf1xPAGQxXOCt73ekS2u+Ho0+dq4XssCzxMxNO67WVatwROXmJuIue8 xdfXbVaR+KywY7foaz6xLPR6xZTHOSjwvDPLpDac5w== X-Google-Smtp-Source: AG47ELvdz8qbsVwbuHvfxhaXuZw8nXD2khwhvf7Rb8U8b/88Gm2O5xWnb5N2v7zWIT7jKiW4RcOo5gFXe2uJI5KJFOU= X-Received: by 10.107.5.199 with SMTP id 190mr26392773iof.107.1520413939634; Wed, 07 Mar 2018 01:12:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.138.209 with HTTP; Wed, 7 Mar 2018 01:12:19 -0800 (PST) In-Reply-To: References: <20180302180924.4312-1-lersek@redhat.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1D785E@SHSMSX104.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1D89D1@SHSMSX104.ccr.corp.intel.com> From: Ard Biesheuvel Date: Wed, 7 Mar 2018 09:12:19 +0000 Message-ID: To: Laszlo Ersek Cc: "Gao, Liming" , edk2-devel-01 , Paolo Bonzini , Cole Robinson Subject: Re: [PATCH 0/3] BaseTools: let the C-language build utils compile with gcc-8 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 09:06:06 -0000 Content-Type: text/plain; charset="UTF-8" On 7 March 2018 at 09:11, Laszlo Ersek wrote: > On 03/07/18 07:43, Gao, Liming wrote: >> Laszlo: >> We just find this change causes XCODE5 build failure, because XCODE compiler doesn't know these two options. So, could you provide the patch to remove the change in BUILD_CFLAGS for MAC? > > Yep, I was a bit concerned about that. > > Ultimately I assumed that > - clang would either recognize these warnings options (because it does > recognize most -W options of gcc), > - or, similarly to gcc, clang would simply ignore -Wno-* flags that it > does not recognize. > > Neither appears to be the case, then. I'll send a patch soon. > What is the reason we don't pass -Wno-unknown-warning-option to XCODE ?