mirror of https://github.com/acidanthera/audk.git
b17a3a133b
__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. Visual Studio versions before VS 2015 don't support __func__ and so will fail to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran <rebecca@quicinc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com> |
||
---|---|---|
.. | ||
Include | ||
Library | ||
Test | ||
MdeLibs.dsc.inc | ||
MdePkg.ci.yaml | ||
MdePkg.dec | ||
MdePkg.dsc | ||
MdePkg.uni | ||
MdePkgExtra.uni |