From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 75EB58202D for ; Thu, 15 Dec 2016 21:07:14 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 15 Dec 2016 21:07:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,355,1477983600"; d="scan'208";a="798581099" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by FMSMGA003.fm.intel.com with ESMTP; 15 Dec 2016 21:07:12 -0800 From: Liming Gao To: edk2-devel@lists.01.org Cc: Hao Wu , Yonghong Zhu Date: Fri, 16 Dec 2016 13:07:10 +0800 Message-Id: <1481864830-5184-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [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: Fri, 16 Dec 2016 05:07:14 -0000 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/Source/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 = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-unused-result -nostdlib -c -g endif BUILD_LFLAGS = -BUILD_CXXFLAGS = +BUILD_CXXFLAGS = -Wno-unused-result ifeq ($(ARCH), IA32) # -- 2.8.0.windows.1