intel / meta-acrn

Layer to integrate the ACRN hypervisor with the Yocto Project.
http://projectacrn.org/
MIT License
22 stars 40 forks source link

acrn-hypervisor: ignore warning due to gcc-13 #524

Closed saininav closed 1 year ago

saininav commented 1 year ago

Error: | In function 'partition_epc', | inlined from 'init_sgx' at arch/x86/sgx.c:116:19: | [-Werror=maybe-uninitialized] | 86 | vm_epc_maps[mid][vm_id].gpa = vm_config->epc.base + vm_config->epc.size - vm_request_size; | | ~~~~^~~ | arch/x86/sgx.c: In function 'init_sgx': | arch/x86/sgx.c:61:32: note: 'vm_config' was declared here | 61 | struct acrn_vm_config *vm_config; | | ^~~~~ | cc1: all warnings being treated as errors

Issue raised. https://github.com/projectacrn/acrn-hypervisor/issues/8413 Ignore fow now, until fixed upstream.