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
已解决! 转到解答。
I found out the solution on myself. I wrote it that could be useful for others.
The problem was that the C library included in my project was C_4i_CF_SZ_MSL.a
This library is a compact one.
I substitute it with library C_4i_CF_StdABI_MSL.a and all is ok now.
I found out the solution on myself. I wrote it that could be useful for others.
The problem was that the C library included in my project was C_4i_CF_SZ_MSL.a
This library is a compact one.
I substitute it with library C_4i_CF_StdABI_MSL.a and all is ok now.