This is essentially the same patch as before, broken up by Pkg. The only change is the macro modifier added to function prototypes now needs only one argument instead of two, as suggested by Andrew. The macro name itself selects between PrintLib style format string and ShellLib style format strings, rather than a dedicated macro argument. The set also adds the GCC patch to BaseLib/gcc as suggested by Liming.
BaseTools/gcc/gcc-4.9.3_format.patch | 240 +++++++++++++++++++++ BaseTools/gcc/gcc-5.2.0_format.patch | 240 +++++++++++++++++++++ DuetPkg/DxeIpl/Debug.h | 1 + DuetPkg/EfiLdr/Debug.h | 1 + MdeModulePkg/Include/Library/NetLib.h | 1 + MdeModulePkg/Include/Protocol/Print2.h | 8 +- .../CustomizedDisplayLibInternal.h | 1 + MdePkg/Include/AArch64/ProcessorBind.h | 33 +++ MdePkg/Include/Arm/ProcessorBind.h | 31 +++ MdePkg/Include/Ia32/ProcessorBind.h | 32 +++ MdePkg/Include/Ipf/ProcessorBind.h | 32 +++ MdePkg/Include/Library/DebugLib.h | 1 + MdePkg/Include/Library/FileHandleLib.h | 1 + MdePkg/Include/Library/PrintLib.h | 4 + MdePkg/Include/Library/UefiLib.h | 7 + MdePkg/Include/X64/ProcessorBind.h | 32 +++ MdePkg/Library/BasePrintLib/PrintLibInternal.h | 1 + .../Library/UefiDevicePathLib/DevicePathToText.c | 1 + OvmfPkg/Include/Protocol/XenBus.h | 2 +- OvmfPkg/XenBusDxe/XenStore.h | 2 + SecurityPkg/Tcg/TcgDxe/TpmComm.h | 1 + ShellPkg/Include/Library/ShellLib.h | 1 + .../Library/UefiShellCommandLib/ConsistMapping.c | 1 + .../DebugAgent/DebugAgentCommon/DebugAgent.h | 1 + .../CpuExceptionHandlerLib/CpuExceptionCommon.h | 1 + Vlv2TbltDevicePkg/Include/FileHandleLib.h | 1 + 26 files changed, 672 insertions(+), 5 deletions(-) _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel