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 <[email protected]> 发送时间: 2023年5月5日 8:04 收件人: gaoliming <[email protected]>; [email protected] 主题: 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/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
