2, 2016 3:47 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [Patch] MdeModulePkg: Remove NORETURN for PeiCore()
> and DxeMain() function
>
> PeiCore EntryPoint library _ModuleEntryPoint() will call PeiCore(), then call
> CpuDeadLoop (). When NORETURN is added for PeiCore(
PeiCore EntryPoint library _ModuleEntryPoint() will call PeiCore(), then call
CpuDeadLoop (). When NORETURN is added for PeiCore(), MSVC compiler will report
warning C4702: unreachable code for CpuDeadLoop (). And, the warning is treated
as error and cause build break. DxeMain() has the similar
2 matches
Mail list logo