This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using C++, How to, Build crashes uVision4

I've read that uVision operates with C/C++, but I can find NO selection or configuration in uVision4. I have been using it with C without issue, but the lure of String variables has me very anxious to migrate to C++.

But, when I try to build a .cpp file uVision4 crashes.

No references found to C++ in the manual that the searches returned.

Any guidance appreciated.

Parents
  • Note that uVision is the IDE. So careful there - it isn't the IDE that compiles any source code. Any debate about C or C++ has to circle around used compiler.

    The MDK-ARM package supports C and C++, but you created this thread specifying C51. And the C51 compiler has no C++ support that I know about.

Reply
  • Note that uVision is the IDE. So careful there - it isn't the IDE that compiles any source code. Any debate about C or C++ has to circle around used compiler.

    The MDK-ARM package supports C and C++, but you created this thread specifying C51. And the C51 compiler has no C++ support that I know about.

Children