From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2883982136 for ; Mon, 19 Dec 2016 18:07:16 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP; 19 Dec 2016 18:07:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,376,1477983600"; d="scan'208";a="44430199" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 19 Dec 2016 18:07:15 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 19 Dec 2016 18:07:15 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.11]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.97]) with mapi id 14.03.0248.002; Tue, 20 Dec 2016 10:07:13 +0800 From: "Zhu, Yonghong" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Wu, Hao A" , "Zhu, Yonghong" Thread-Topic: [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file Thread-Index: AQHSV1pPlXJEpfGM3UC01WihbFE+laEQHMbg Date: Tue, 20 Dec 2016 02:07:13 +0000 Message-ID: References: <1481864830-5184-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1481864830-5184-1-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 02:07:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: Gao, Liming=20 Sent: Friday, December 16, 2016 1:07 PM To: edk2-devel@lists.01.org Cc: Wu, Hao A ; Zhu, Yonghong Subject: [Patch] BaseTools GCC makefile: disable unused-result warning for = CPP file From: Hao Wu This warning has been disabled for C file. To be same, it is also disabled = for CPP file. Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- BaseTools/Source/C/Makefiles/header.makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Sourc= e/C/Makefiles/header.makefile index 821d114..063982b 100644 --- a/BaseTools/Source/C/Makefiles/header.makefile +++ b/BaseTools/Source/C/Makefiles/header.makefile @@ -52,7 +52,7 @@ else BUILD_CFLAGS =3D -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno= -deprecated-declarations -Wno-unused-result -nostdlib -c -g endif BUILD_L= FLAGS =3D -BUILD_CXXFLAGS =3D +BUILD_CXXFLAGS =3D -Wno-unused-result =20 ifeq ($(ARCH), IA32) # -- 2.8.0.windows.1