Displaying 2 results from an estimated 2 matches for "cc7nkkdc".
2002 Nov 01
2
[LLVMdev] totally lost
...ould you explain? Thanks a lot -Jerry
Error Message:
xli3|csil-suna38|~/mp2|[25]% llvmgcc testcase3.c
testcase3.c: In function `init':
testcase3.c:5: warning: cast to pointer from integer of different size
/usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/as:
/var/tmp//cc7nkKdc.s:428: Redefinition of value named 'reg213' in the 'int
*' type plane!
My code:
/* --------------------testcase -----------------------*/
#include <stdio.h>
int *init(int size)
{
int *a = (int *)malloc(size);
return a;
}
int main()
{
int *c;
c...
2002 Nov 01
0
[LLVMdev] totally lost
...Jerry
>
> Error Message:
> xli3|csil-suna38|~/mp2|[25]% llvmgcc testcase3.c
> testcase3.c: In function `init':
> testcase3.c:5: warning: cast to pointer from integer of different size
> /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/as:
> /var/tmp//cc7nkKdc.s:428: Redefinition of value named 'reg213' in the 'int
> *' type plane!
>
> My code:
> /* --------------------testcase -----------------------*/
> #include <stdio.h>
> int *init(int size)
> {
> int *a = (int *)malloc(size);
> return...