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

Its not a 'limitation', its a BUG.

Markus GIRDLAND
ST Employee

@Dave Nadler​ We confirmed both bugs but we didn't do it with your specific example project we found it anyway. The testing we've done so far indicates that it's only happening on CubeMX generated projects as their .cproject differs from ours.

Hi @Markus GIRDLAND​ - Any progress on getting this fixed?

5 weeks now...

Thanks!

Hello Dave,

The ticket is assigned but not completed. It won't be in the next version of TrueSTUDIO which should be out pretty soon.

@Markus GIRDLAND​ - Any update? 3 months since this bug was reported...

Thanks!

Best Regards, Dave

Nothing as of yet. It's up to the development team which tickets they prioritize.

Markus GIRDLAND
ST Employee

I should probably add that as a workaround you can still use Properties -> C/C++ Build -> Settings -> Tool Settings -> Copy C compiler Symbols and paste to C++ compiler Symbols.

This has the same functionality and appears unaffected by the way the CubeMX projects are generated.

@Markus GIRDLAND​ - "...as a workaround you can still use Properties -> C/C++ Build -> Settings -> Tool Settings -> Copy C compiler Symbols and paste to C++ compiler Symbols" is absolutely incorrect.

The reason this is a serious bug is the C++ compiler options are not shown at all (only C and assembler are shown).

There is no place to insert the settings.

Please see the original post pictures if you're not clear on this.

And for heaven's sake, let's get this fixed! 3 months already!!

Thanks,

Best Regards, Dave

@Mattias Norlander​ - I see you mentioned converting to C++ in "CubeMX Best Practices" blog here: http://blog.atollic.com/best-practices-faq-truestudio-stm32cubemx

Have these bugs (problems converting CubeMX project to C++) now been fixed?

Thanks!

Best Regards, Dave

@Markus GIRDLAND​ , @Imen DAHMEN​ - 4 months now.

When is this going to be fixed?

Thanks!

Best Regards, Dave