AnsweredAssumed Answered

what is _impure _ptr ? why am I getting this error ?

Question asked by karakaya.mehmet on Nov 22, 2012
Latest reply on Nov 23, 2012 by Clive One
hello forum

I am trying to compile a C program for STM32F4 microcontroller
with Eclipse + yagarto compiler

I get the error;

undefined reference to `_impure_ptr'

there is no function "impure_ptr" in whole project
the error pointer points to a line containing only     }

--------------------------------------------
This build of yagarto use the following versions:

binutils: 2.20.1
gcc: 4.5.1
newlib: 1.18.0
gdb: 7.1

(13.08.2010, mifi)
-----------------------------------
In my code I include
#include <stdio.h>

#include <string.h>

this must be something related to C compiler however I dont know what

how can I get rid of this ?

Outcomes