public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file
@ 2016-12-16  5:07 Liming Gao
  2016-12-20  2:07 ` Zhu, Yonghong
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Gao @ 2016-12-16  5:07 UTC (permalink / raw)
  To: edk2-devel; +Cc: Hao Wu, Yonghong Zhu

From: Hao Wu <hao.a.wu@intel.com>

This warning has been disabled for C file. To be same, it is also disabled
for CPP file.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-20  2:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-16  5:07 [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file Liming Gao
2016-12-20  2:07 ` Zhu, Yonghong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox