2023-01-16 02:44 AM
I'm writing C++ code wih STM32CubeIDE. Version of IDE is 1.11.0 and it comes with arm-none-eabi-g++ version 10.3-2021.10 . The compiler has some of C++20 features and I'm using them in the code.
The problem is some of them are not recognized by the IDE although the code compiles and runs flawlessly.
I can give3 examples that STM32CubeIDE has problem with them.
Solved! Go to Solution.
2023-01-17 05:27 AM
Hi again @navidcity,
More details:
This component is basically the first part of a compiler, but instead of generating assembler code, it will generate a model that can later be used to lookup function names etc.
Unless someone is stepping in with funding and/or resources, this is likely not going to change anytime soon.
Best regards,
Wijeden,
2023-01-16 05:53 AM
Hello navidcity,
Could you please provide your main.h project which contains the definitions to understand well the issue and help us reproduce this behavior and further analyze it.
Best regards,
Wijeden,
2023-01-16 08:29 AM
did you set it in project options ?
(here set C17 )
2023-01-16 10:08 AM
Yes I did. It's set on C++20. As I stated, the whole project compiles and runs.
2023-01-17 01:20 AM
Hello@ navidcity,
Please put those two information into your consideration :
Don't hesitate to ask any more questions.
Wijeden,
2023-01-17 02:12 AM
Then it's a known issue to you.
I think I have to wait for next versions of IDE.
With that being said, do you need the header file with definitions from me?
2023-01-17 02:25 AM
Hi again@ navidcity,
Maybe yes you can wait for the next version .Also, i don't need the header file.
Thanks ,
Wijeden,
2023-01-17 05:27 AM
Hi again @navidcity,
More details:
This component is basically the first part of a compiler, but instead of generating assembler code, it will generate a model that can later be used to lookup function names etc.
Unless someone is stepping in with funding and/or resources, this is likely not going to change anytime soon.
Best regards,
Wijeden,