* [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>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--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
* Re: [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file
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
0 siblings, 0 replies; 2+ messages in thread
From: Zhu, Yonghong @ 2016-12-20 2:07 UTC (permalink / raw)
To: Gao, Liming, edk2-devel@lists.01.org; +Cc: Wu, Hao A, Zhu, Yonghong
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Best Regards,
Zhu Yonghong
-----Original Message-----
From: Gao, Liming
Sent: Friday, December 16, 2016 1:07 PM
To: edk2-devel@lists.01.org
Cc: Wu, Hao A <hao.a.wu@intel.com>; Zhu, Yonghong <yonghong.zhu@intel.com>
Subject: [Patch] BaseTools GCC makefile: disable unused-result warning for CPP file
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>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--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