Branch: refs/heads/master Home: https://github.com/tianocore/edk2-libc Commit: fefde4a00028233c5ad8f172135d63a3cf51a6bd https://github.com/tianocore/edk2-libc/commit/fefde4a00028233c5ad8f172135d63a3cf51a6bd Author: Jayaprakash, N <n.jayaprak...@intel.com> Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths: M AppPkg/Applications/Enquire/Enquire.c M AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.c M AppPkg/Applications/Sockets/DataSource/DataSource.c M AppPkg/Applications/Sockets/OobRx/OobRx.c M AppPkg/Applications/Sockets/RawIp4Rx/RawIp4Rx.c M StdLib/BsdSocketLib/getnetbyht.c M StdLib/BsdSocketLib/ns_print.c M StdLib/EfiSocketLib/Socket.c Log Message: ----------- edk2-libc: Support for compiling Python UEFI interpreter with VS2022 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4811 While trying to compile Python UEFI 3.6.8 with VS2022, got several compiler warnings from other components within the edk2-libc project. These warnings were leading to compilation failure as they were treated as errors. All these issues have been fixed through this commit. Besides this, updated the year in copy right of these file. Summary of the issues is given below for reference: 1.AppPkg\Applications\Enquire\Enquire.c Warning C4459: Declaration of 'bugs' hides global declaration. Warning C4456: Multiple declarations of 'char_max' hide previous local declarations. Warning C4456: Declaration of 'char_min' hides previous local declaration. 2.AppPkg\Applications\OrderedCollectionTest\OrderedCollectionTest.c Warning C4476: Unknown type field character '$' in format specifier. Warning C4474: Too many arguments passed for format string. 3.StdLib\BsdSocketLib\getnetbyht.c Warning C4459: Declaration of 'net' hides global declaration. 4.StdLib\EfiSocketLib\Socket.c Warning C4459: Multiple declarations of 'errno' hide global declaration. 5.AppPkg\Applications\Sockets\DataSource\DataSource.c Warning C4459: Declaration of 'BytesSent' hides global declaration. 6.AppPkg\Applications\Sockets\OobRx\OobRx.c Warning C4475: Length modifier 'L' cannot be used with type field character 'd' in format specifier. 7.AppPkg\Applications\Sockets\RawIp4Rx\RawIp4Rx.c Warning C4475: Length modifier 'L' cannot be used with type field character 'd' in format specifier. 8.StdLib\BsdSocketLib\ns_print.c Warning C4456: Multiple declarations of 't' hide previous local declarations. Warning C4457: Declaration of 'type' hides function parameter. Cc: Rebecca Cran <rebe...@bsdio.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Jayaprakash N <n.jayaprak...@intel.com> Signed-off-by: Jayaprakash N <n.jayaprak...@intel.com> Reviewed-by: Michael D Kinney <michael.d.kin...@intel.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2-libc/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits