EFI_Driver_Access icon indicating copy to clipboard operation
EFI_Driver_Access copied to clipboard

error: incompatible type for argument 5 of ‘BS->CreateEventEx’ 369 | ExitGuid,

Open jhonleegames opened this issue 3 years ago • 2 comments

I am having this error while compiling the driver in lunix .

main.c: In function ‘efi_main’: main.c:354:65: error: incompatible type for argument 5 of ‘BS->CreateEventEx’ 354 | VirtualGuid, | ^~~~~~~~~~~ | | | EFI_GUID main.c:354:65: note: expected ‘const EFI_GUID *’ but argument is of type ‘EFI_GUID’ main.c:369:65: error: incompatible type for argument 5 of ‘BS->CreateEventEx’ 369 | ExitGuid, | ^~~~~~~~ | | | EFI_GUID main.c:369:65: note: expected ‘const EFI_GUID *’ but argument is of type ‘EFI_GUID’ make: *** [: main.o] Error 1

jhonleegames avatar Jul 06 '22 17:07 jhonleegames

add "&" before virtualguid and exitguid.

0x1-1 avatar Sep 19 '22 16:09 0x1-1