mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-20 17:13:43 +00:00
We hit following build error when using gcc10: arch/x86/page.c:240:48: error: array subscript is outside array bounds of 'struct page[0][1]' [-Werror=array-bounds] It happens with gcc10 on different Linux distributions. Regarding the case that ACRN depends on zero length array in sevaral places, we disable the zero length array warning by gcc option. Tracked-On: #4810 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
18 KiB
18 KiB