cancel
Showing results for 
Search instead for 
Did you mean: 

Atollic bugs: Convert to C++ (add C++ nature) fails to add C++ language to #Symbols tab

Atollic TrueSTUDIO® for STM32, Built on Eclipse Neon.1a.

Version: 9.1.0

Build id: 20181011-1241

Added C++ nature to a working C project.

Serious Bug 1: In Properties -> C/C++ General -> Paths and Symbols:

The Includes tab has added GNU C++ in the Languages column as it should.

Bug: In the # Symbols tab, GNU C++ is not added in the Languages column.

The additional language should be added, and initial values copied from the C language.

Extremely Annoying Bug 2: In Properties -> C/C++ General -> Paths and Symbols:

The Includes tab has added GNU C++ in the Languages column as it should.

Unfortunately, it is blank, where it should be initialized to a copy of the C language settings.

User has to copy and paste the entire list! Please fix initialization...

How do I work around bug 1?

Thanks!

0690X000006CFTBQA4.png

0690X000006CFTLQA4.png

22 REPLIES 22

It would be great if someone at ST could acknowledge this problem and let us know how to work around it. I've attached the complete project, even better would be if ST can correct the .cproject so that all build configurations and languages have the same include path and symbol settings.

Thanks!

Attachment...

@Imen DAHMEN​ ? Any other ST employee?

ST has bought Atollic, is ST going to support TrueSTUDIO® for STM32?

Thanks!

Imen.D
ST Employee

Hello @Dave Nadler​ ,

Thank you for bringing this to our attention.

I will raise this issue internally for check and analysis, then we come back to you with update.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Markus GIRDLAND
ST Employee

Hello Dave,

When converting a C project to C++ there will be some configuring work needed. It's also noticed more when it's a project generated by CubeMX because we set up C++ for you in a project generated by TrueSTUDIO but never use it until the c++ nature is added to a project, then you only need to do the manual work for anything you've configured.

Includes and Symbols are not copied from C to C++ compiler automatically, it will require manual work.

Easiest way of doing this is actually by going here:

C/C++ Build > Settings > Tool Settings > C Compiler > Symbols.

Copy all lines to the corresponding C++ Compiler > Symbols.

Do the same batch copy for the Include paths.

It will hopefully speed up the process and make it less frustrating.

@Markus GIRDLAND​ , you have not addressed the serious bug described above. Your customers are well aware that additional work is required to change a project from C to C++. Please get this to an Atollic engineer able to help fix the problem ASAP!

PS: Please fix your forum so it doesn't continually double-post as it did with your reply.

Markus GIRDLAND
ST Employee

Hello again Dave,

The bug has been confirmed and there's a ticket for it. I'm not certain as to when we'll be able to have a solution for it because we couldn't figure out at first glance why it was happening.

I'm part of the Atollic engineering team.

Thanks for bringing it to our attention.

Hello @Dave Nadler​ ,

We are of such limitation 'double-post' and working to resolve this.

We apologize for any inconvenience this may cause and thank you for your comprehension.

Kind Regards,

Imen.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

@Markus GIRDLAND​ - Great to hear you have opened a ticket. Can you confirm:

(1) You have reproduced both bugs with a simple test

(2) You can see the problem in the ZIP'd example project I provided

Can I suggest you try to repair the .cproject XML?

This will clarify exactly what information is missing and may well help fix the serious bug.

Please keep me posted on progress and note its been over 3 weeks now,

Thanks,

Best Regards, Dave