回复: [edk2-devel] 回复: [edk2-devel] [PATCH] Support GLOBAL_REMOVE_IF_UNREFERENCED in GCC5/11
gaoliming via groups.io
gaoliming=byosoft.com.cn at groups.io
Fri May 5 03:15:00 UTC 2023
Joe:
Such warning message in RELEASE build is expected. I suggest to disable them by compiler option. If so, we don’t need to modify source code.
Thanks
Liming
发件人: JoeX Lu <pen-chunx.lu at intel.com>
发送时间: 2023年5月5日 8:04
收件人: gaoliming <gaoliming at byosoft.com.cn>; devel at edk2.groups.io
主题: Re: [edk2-devel] 回复: [edk2-devel] [PATCH] Support GLOBAL_REMOVE_IF_UNREFERENCED in GCC5/11
Hi Liming,
For question1: We might declaim some variables/functions only used in DEBUG mode and those are necessary variables/functions for debugging but will trigger warning message in RELEASE build.
For question2: Yes
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#104085): https://edk2.groups.io/g/devel/message/104085
Mute This Topic: https://groups.io/mt/98698470/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230505/3c0b0463/attachment-0001.htm>
More information about the edk2-devel-archive
mailing list