CodeWarriorFire 6.3 Standard Edition C++ Support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarriorFire 6.3 Standard Edition C++ Support

1,884 Views
sn
Contributor I
I am confused by the C++ support offered by CodeWarrior 6.3 Standard Edition for the ColdFire MCF52233.
 
CodeWarrior allows a user to create a C++ project, but the standard, pre-baked code does not compile under the UART Debug build preset (it does, however, compile fine under the Console Debug build preset).  Examining the build errors, I removed some extern "C" code bits I found in some .c files, as the C programming language does not recognize extern "C", and it worked fine.
 
Thinking my problems solved, I then attempted to utilize the STL, and received a great number of build errors for merely including any header.  Even after adding additional MSL C++ libraries, the errors remained.  There seemed to be a problem with namespace's.  I ditched the headers and wrote a very simple namespace.  Sure enough, the compiler did not recognize the namespace keyword.
 
Some time later I read in the Targeting_ColdFire PDF provided with CodeWarrior that the Standard Edition does not support C++ (Also noted at  http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CWS-MCF-STDED-CX&parentCode=null&node...).  Yet, I am able to use the class keyword, a feature C does not provide.  Additionally, as mentioned before, the software itslef seems to greatly suggest that at least some C++ support is offered.  Thus, my question is:
 
What C++ does CodeWarriorStandard Edition support?  Does this edition offer any STL support?
 
Thanks,
 
Stephen

Message Edited by sn on 2007-01-1103:14 AM

Message Edited by sn on 2007-01-1103:17 AM

Labels (1)
0 Kudos
2 Replies

533 Views
CrasyCat
Specialist III
Hello
 
Standard Edition does not allow you to program in C++.
Please refer to following URL to get more details on feature available in Special, Standard or Professional edition:
 
 
CrasyCat
0 Kudos

533 Views
pittbull
Contributor III
Hi,
I never used C++ on small devices but it sounds that your CW only supports a stripped down version of C++ (like this one --> http://www.caravan.net/ec2plus/spec.html).
With EC++ there's now way to use the STL or 'boost' because they heavily rely on templates.
0 Kudos