2021-10-13 05:20 PM
I have questions:
Solved! Go to Solution.
2024-02-15 02:16 AM - last edited on 2024-07-18 02:13 AM by Mohammad MORADI ESFAHANIASL
Hello @CTapp.1 ,
Concerning the version of C++, TouchGFX only uses C++98 language features. Therefore, compiling the project using newer language versions should be safe.
I hope that answers your question.
Regards,
2024-02-11 03:16 AM
Did you ever find out which versions are supported?
My generated STM32Cube project uses C++14, but I would like to use C++17.
The project builds without errors using C++17.
2024-02-14 12:23 AM
Hello,
There's no standard library used in TouchGFX, but you can enable it in your Toolchain (STM32CubeIDE or Keil ...) project properties for your project's code.
Regards,
2024-02-14 12:45 AM
Hi Louis,
Thanks, but the question was about which version of the C++ language (as standardised in ISO 14882) the TouchGFX code was written against.
It's unlikely to matter (as long as a "modern" version is used - C++14 and later), but there are some subtle changes in behaviour that may get in the way if they are not considered.
2024-02-15 02:16 AM - last edited on 2024-07-18 02:13 AM by Mohammad MORADI ESFAHANIASL
Hello @CTapp.1 ,
Concerning the version of C++, TouchGFX only uses C++98 language features. Therefore, compiling the project using newer language versions should be safe.
I hope that answers your question.
Regards,
2024-02-16 02:54 PM
Thanks, that's good to hear :)
2024-02-20 02:32 AM
Hi CTapp.1,
You are welcome, don't hesitate if you need additional information or help.
I also invite you to select the best answer, so the community can find the answer easily.
Regards,
2024-02-20 08:27 AM
I also invite you to select the best answer, so the community can find the answer easily.
Unfortunately I can't, as I didn't start this topic ;)
2024-02-22 01:07 AM
No problem :), I'll mark it as best answer.