[LLVMdev] [patch] vmkit compiled using gcc

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sat Apr 18 06:38:23 PDT 2009


Applied thanks!
http://lists.cs.uiuc.edu/pipermail/vmkit-commits/2009-April/000815.html

Btw, what are the error messages for these?
> -  char * res = strstr(haystack, needle);
> +  char * res = (char *)strstr(haystack, needle);
> -  char* ptr = strrchr(name, '/');
> +  char* ptr = (char*)strrchr(name, '/');

Nicolas


Xerxes RĂ„nby wrote:
> I have tested compiling vmkit using gcc3.4 and gcc4.4
> Some vmkit files required that I added some explicit typecasts and 
> #includes in order to compile.
> I have attached my changes against the vmkit svn trunk rev 69439
> Using this patch both versions of gcc managed to compiled vmkit on my 
> machine.
>
> Cheers
> Xerxes
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list