Hi Laszlo,

Thanks to point out this issue.
The fix has been sent out to edk2-devel list for code review now.

Thanks,
Guo

-----Original Message-----
From: Laszlo Ersek [mailto:ler...@redhat.com] 
Sent: Tuesday, May 26, 2015 4:48 PM
To: edk2-devel list
Cc: Gerd Hoffmann; Ma, Maurice; Dong, Guo; Scott Duplichan
Subject: CorebootModulePkg: gcc reports conflicting types for 'CbParseAcpiTable'

Hi,

CorebootModulePkg fails to build with gcc. See error msg below.

Thanks
Laszlo

CorebootModulePkg/Library/CbParseLib/CbParseLib.c:363:1: error: conflicting 
types for 'CbParseAcpiTable'
 CbParseAcpiTable (
 ^
In file included from CorebootModulePkg/Library/CbParseLib/CbParseLib.c:21:0:
CorebootModulePkg/Include/Library/CbParseLib.h:65:1: note: previous declaration 
of 'CbParseAcpiTable' was here  CbParseAcpiTable (  ^
CorebootModulePkg/Library/CbParseLib/CbParseLib.c: In function 
'CbParseFadtInfo':
CorebootModulePkg/Library/CbParseLib/CbParseLib.c:425:3: error: passing 
argument 1 of 'CbParseAcpiTable' from incompatible pointer type [-Werror]
   Status = CbParseAcpiTable (&Rsdp, NULL);
   ^
CorebootModulePkg/Library/CbParseLib/CbParseLib.c:363:1: note: expected 'void 
**' but argument is of type 'struct 
EFI_ACPI_3_0_ROOT_SYSTEM_DESCRIPTION_POINTER **'
 CbParseAcpiTable (
 ^
cc1: all warnings being treated as errors

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to