<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
filed bug
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://llvm.org/bugs/show_bug.cgi?id=17439">http://llvm.org/bugs/show_bug.cgi?id=17439</a><br>
<br>
<br>
kotler@mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
20071018-1.c <br>
20071018-1.c:14:8: error: use of unknown builtin '__builtin_malloc'<br>
[-Wimplicit-function-declaration]<br>
*f = __builtin_malloc(sizeof(struct foo));<br>
^<br>
20071018-1.c:14:6: warning: incompatible integer to pointer
conversion<br>
assigning to 'struct foo *' from 'int' [-Wint-conversion]<br>
*f = __builtin_malloc(sizeof(struct foo));<br>
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
20071018-1.c:18:9: warning: incompatible integer to pointer
conversion<br>
initializing 'void *' with an expression of type 'int'
[-Wint-conversion]<br>
void *x = __builtin_malloc(sizeof(struct mem));<br>
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
2 warnings and 1 error generated.
</body>
</html>