Fix the function prototype to the correct API. This is enforced in edk2 since 
your    entry point is called from a library.

You were just getting lucky it worked in the EDK.

Sent from my iPhone

On Jun 7, 2013, at 4:40 AM, ranga rao <[email protected]> wrote:

> Hi,
> I have C source which I have been building using EDK 1.06.
>  
> The variables in the code are not declared in the beginning of the function, 
> and I could able to build the
> Code with /TP flag
>  
> The same code is failing on EDK II(UDK2010.UP4)
> When I attempted to build this using UDK 2010 UP4 with /TP flag, I see the 
> below error
> Is throwing the below error at entry point
> c:\udk2010.up1\MdeModulePkg\Bus\Pci\Sasdriver\Sasdriver.c(63) : error C2440: 
> 'in
> itializing' : cannot convert from 'EFI_STATUS (__cdecl 
> *)(EFI_HANDLE,EFI_SYSTEM_
> TABLE *)' to 'int'
> How do I resolve this issue?
>  Appreciate the response!
> Thanks
> Ranga
> 
> 
> -- 
> Thanks
> Ranga
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to