Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: bf99048365a1d1f55268bf77c9c9c12bd396a93b https://github.com/tianocore/edk2/commit/bf99048365a1d1f55268bf77c9c9c12bd396a93b Author: Nate DeSimone <nathaniel.l.desim...@intel.com> Date: 2025-04-28 (Mon, 28 Apr 2025)
Changed paths: M BaseTools/Source/C/VfrCompile/VfrSyntax.g Log Message: ----------- BaseTools: Add support for GCC preprocessor line directives This change adds support for GCC-style preprocessor line directives as documented in: https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html On Windows systems, one can use line-markers to see which .vfr file was used to generate a *.i file in the Build directory. This is useful for debugging VFR compilation failures. With this change, the VfrCompiler will not generate compilation errors if the *.i file contains GCC-style line-markers. Without this change, one must disable the pre-processor's emission of line-markers, removing the debug aid they provide. Signed-off-by: Nate DeSimone <nathaniel.l.desim...@intel.com> Commit: 55b4688157a62a871899346fa43cf9330ff4adf2 https://github.com/tianocore/edk2/commit/55b4688157a62a871899346fa43cf9330ff4adf2 Author: Nate DeSimone <nathaniel.l.desim...@intel.com> Date: 2025-04-28 (Mon, 28 Apr 2025) Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools/Conf: Enable GCC preprocessor line-markers for VFR This change enables the emission of C preprocessor line-markers for VFR intermediate files on the GCC and Clang compilers. Since the VfrCompiler now supports GCC-style preprocessor line markers, they can be enabled by default. Signed-off-by: Nate DeSimone <nathaniel.l.desim...@intel.com> Compare: https://github.com/tianocore/edk2/compare/091bd7958b44...55b4688157a6 To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits