[edk2-devel] [PATCH 2/2] MdePkg: Update code to be more C11 compliant by using __func__

Sunil V L sunilvl at ventanamicro.com
Fri Mar 17 04:23:50 UTC 2023


On Thu, Feb 09, 2023 at 08:45:07AM -0700, Rebecca Cran wrote:
> __FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
> others support, while __func__ was standardized in C99.
> 
> Since it's more standard, replace __FUNCTION__ with __func__ throughout
> MdePkg.
> 
> Signed-off-by: Rebecca Cran <rebecca at quicinc.com>
> ---
Hi Rebecca,

Thank you for this effort!. After this gets merged (or once all
packages migrate to __func__), would CI fail if someone adds a new
__FUNCTION__ ?

Changes LGTM. You need to rebase and resolve a merge conflict.

Reviewed-by: Sunil V L <sunilvl at ventanamicro.com>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101290): https://edk2.groups.io/g/devel/message/101290
Mute This Topic: https://groups.io/mt/96855618/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list