Displaying 1 result from an estimated 1 matches for "__attribute_impure_ptr__".
2008 Feb 29
1
[LLVMdev] conflicting declarations in output of C back end
...g types for '_impure_ptr'
/home/kevin/Documents/School/2eLIC/Thesis/work/install/psptoolchain/bin/../lib/gcc/psp/4.1.0/../../../../psp/include/sys/reent.h:793:
error: previous declaration of '_impure_ptr' was here
The declaration in sys/reent.h:
extern struct _reent *_impure_ptr __ATTRIBUTE_IMPURE_PTR__;
And the one generated by the C back end:
/* External Global Variable Declarations */
extern struct l_struct_2E__reent *_impure_ptr;
So I guess somewhere in the compilation process the struct "_reent" is
renamed by LLVM but then conflicts with the original declaration?
The file &qu...