Topic : C++ with Ride7

Forum : ARM

Original Post
Post Information Post
January 28, 2008 - 6:39pm
Guest

I have the latest version of Ride7 IDE with RKitARM

I want to have some C++ files in a project for STM32, but the IDE treat a C++ file like a text file, so it is impossible to compile a C++ file.

I looked in the installation directory of Ride7 and the C++ compiler is in the same subdirectory as the C compiler.

Does Ride7 manage only C files ?

Is it possible to have C++ files in a Ride7 project ?

Replies
Post Information Post
+1
0
-1
January 29, 2008 - 9:31am
Guest

Hi Jerome,

the C++ compiler is present indeed, but we don't support it since we have not tested it. You are free to try to use C++ but for now you will get no support about compilation issues. If you want to compile your C++ files, it is very easy:

1. click on your .cpp/.cxx file
2. In the Info->Type option set, change the type to "C source file"

regards,
Lionel

+1
0
-1
January 29, 2008 - 10:17am
Guest

Thanks for the answer.

+1
0
-1
January 29, 2008 - 1:50pm
Guest

Another main reason to explain why we don't support C++ is that our debugger does not know C++ analysis which is much more complex than C. So the debugger will not work.

Lionel

+1
0
-1
February 7, 2008 - 5:55am
Guest

I am using Ride 7 with the Reva board (STR912F44). Acuatully I've found a problem
with the GPIO lib drivers , once I've fixed I'll email you guys the update.

But I am having two problem one is related to lack of breakpoints. I saw that the solution is to run in Ram not flash , How do I set this I could not find anything in the Advanced Rlink. I tried unclickin all the program Flash boxes in STR9 specific options but it does not seem to make a difference.

The other problem I have is that I am not being able to see local variables when debugging. Or stack variables for that matter.

Tnx