AnsweredAssumed Answered

atoi & atof

Question asked by Luca Petro on Apr 29, 2009
Latest reply on Apr 30, 2009 by Luca Petro

Hi all,

   I'm using codewarrior for ColdFire.

As saw in the help I'm trying to use atoi and atof C standard function in my project.

I included stdlib.h as requested, but the linker fails to find this function.

 

I saw that in stdlib there is the following code

 

#if !_MSL_C_TINY_IO
    using std::atof;
    using std::atoi;
    using std::atol;
#endif

 

The _MSL_C_TINY_IO is set to 0 as default.

 

Where is my error?

 

Thanks

Outcomes