AnsweredAssumed Answered

C++ iostream compile error with MQX 3.8 + CW10.1

Question asked by jianping hou on Feb 16, 2012
Latest reply on Feb 23, 2012 by jianping hou

I'm sorry to postthis Message. 

 

I have installed MQX 3.8 today, the default C++ demo works well without standard c++ libraries.

 

but I'd like to  include  some standard C++ libraries, such as <iostream>, <list>, etc.

 

i have added this to comiple option: "${MCUToolsBaseDir}/ColdFire_Support/ewl/EWL_C++/include"

 

and then i just add one line : #include <iostream>, and rebuild the project.

 

there were many errors happened:

undefined identifier 'wmemset' Dragon  line 240 C/C++ problem

undefined identifier 'wmemmove' Dragon  line 240 C/C++ problem
undefined identifier 'wmemcpy' Dragon   line 242 C/C++ problem
undefined identifier 'wmemcmp' Dragon   line 242 C/C++ problem

..........

 

what should i do next?

 

thank you all!


 

Outcomes