mirror of https://github.com/acidanthera/audk.git
9248a4717a
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1415 When an integer constant specified in the .vfr file is too large for the varstore field it is being used with, the VFR compiler reports an overflow warning like this: Test.vfr(693): WARNING: Overflow: Value 1024 is too large to store in a UINT8 : String to UINT* Overflow Since Warning does not break the build process, and it is easy to miss it. This patch is to update the code to report error and break the build if meet this kind of issue. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> |
||
---|---|---|
.. | ||
Pccts | ||
EfiVfr.h | ||
GNUmakefile | ||
Makefile | ||
VfrCompiler.cpp | ||
VfrCompiler.h | ||
VfrError.cpp | ||
VfrError.h | ||
VfrFormPkg.cpp | ||
VfrFormPkg.h | ||
VfrSyntax.g | ||
VfrUtilityLib.cpp | ||
VfrUtilityLib.h |