[cfe-dev] compiler-rt build broken

Kostya Serebryany kcc at google.com
Tue Dec 13 15:29:12 PST 2011


Looking at it....

On Tue, Dec 13, 2011 at 3:27 PM, JP <
jpbonn-keyword-cfedev.957c48 at corniceresearch.com> wrote:

> I just went to build compiler-rt and it's got problems:
>
>
> /home/me/Documents/mico32/llvm/projects/compiler-rt/lib/asan/sysinfo/sysinfo.cc:324:27:
> error:
>       conversion specifies type 'unsigned long long *' but the argument
> has type
>       'uint64 *' (aka 'unsigned long *') [-Werror,-Wformat]
>     if (sscanf(stext_, "%"SCNx64"-%"SCNx64" %4s %"SCNx64" %x:%x
> %"SCNd64" %n",
>                         ~~^
>
> /home/me/Documents/mico32/llvm/projects/compiler-rt/lib/asan/sysinfo/basictypes.h:80:19:
> note:
>       expanded from macro 'SCNx64'
> #define SCNx64 "llx"
>                   ^
>
> /home/me/Documents/mico32/llvm/projects/compiler-rt/lib/asan/sysinfo/sysinfo.cc:324:37:
> error:
>       conversion specifies type 'unsigned long long *' but the argument
> has type
>       'uint64 *' (aka 'unsigned long *') [-Werror,-Wformat]
>     if (sscanf(stext_, "%"SCNx64"-%"SCNx64" %4s %"SCNx64" %x:%x
> %"SCNd64" %n",
>
>
> .... and so forth.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111213/029b9f83/attachment.html>


More information about the cfe-dev mailing list