Displaying 3 results from an estimated 3 matches for "tsi_start".
Did you mean:
tsc_start
2006 Mar 07
0
[LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
.../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: ISO C++
> forbids
> declaration of `tsi_next' with no type
> ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: `int tsi_next'
This is more strange. The code likes this for me:
for (tree_stmt_iterator I = tsi_start(node); !tsi_end_p(I); tsi_next(&I))
if (TREE_CODE(tsi_stmt(I)) == LABEL_EXPR)
SET_DECL_LLVM(TREE_OPERAND(tsi_stmt(I), 0), 0);
Is this what you have? If so, can you send me the preprocessed source
file? What host compiler are you using?
-Chris
--
http://nondot.org/sabre/
h...
2006 Mar 06
2
[LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
Chris Lattner wrote:
> On Thu, 2 Mar 2006, Chris Lattner wrote:
>>> Any ideas what could be wrong?
>>
>> Sorry for the delay, please try this tarball:
>> http://nondot.org/sabre/2006-03-02-llvm-gcc-4.tar.gz
>
> Actually, do to a recent change in CVS, this tarball will probably not
> work anymore. Please apply the attached (small) patch on top of it in
>
2006 Mar 07
1
[LLVMdev] Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...pp:1312: error: ISO C++
>> forbids
>> declaration of `tsi_next' with no type
>> ../../2006-03-02-llvm-gcc-4/gcc/llvm-convert.cpp:1312: error: `int
>> tsi_next'
>
> This is more strange. The code likes this for me:
>
> for (tree_stmt_iterator I = tsi_start(node); !tsi_end_p(I);
> tsi_next(&I))
> if (TREE_CODE(tsi_stmt(I)) == LABEL_EXPR)
> SET_DECL_LLVM(TREE_OPERAND(tsi_stmt(I), 0), 0);
>
> Is this what you have?
Yes, but after removing ATTRIBUTE_UNUSED the second error is gone. <rumbling
about syntax err...