EDK2 Clang users:

                I've been curious about using CLANG on one of our systems to 
try out the llvm ecosystem.  I can compile my project in both GCC48 and VS2013, 
however, when I tried CLANG35 on  a Ubuntu 14.04 system, I got this error:

Building ... 
MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf 
[IA32]
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c:58:10: warning: 
cast to 'void *' from smaller integer type 'UINTN' (aka 'unsigned int') 
[-Wint-to-void-pointer-cast]
  return (VOID *) (UINTN) Memory;

I surmise the VOID* or UINTN must be incorrectly configured somewhere?  Or 
perhaps I missed some crucial setup steps?

Thomas
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to