Compilers and modern C++ features support
Posted: Mon Aug 16, 2021 7:46 pm
Hello everyone!
I'm wondering if it's a good idea to use some new TS/2a C++ features like coroutines.
Is there any plan to upgrade the GCC toolchain beyond the 8.4 version?
Or are you focusing on the LLVM port?
If so, what is the current stability of clang/LLVM toolchain regarding esp-idf core? Is it good enough to be used already or should I expect problems?
AFAIR gcc/clang strive to produce compatible object files so it might be possible to compile esp-idf using gcc and link it with the rest of the application compiled with clang. Did anybody attempt this?
I'm wondering if it's a good idea to use some new TS/2a C++ features like coroutines.
Is there any plan to upgrade the GCC toolchain beyond the 8.4 version?
Or are you focusing on the LLVM port?
If so, what is the current stability of clang/LLVM toolchain regarding esp-idf core? Is it good enough to be used already or should I expect problems?
AFAIR gcc/clang strive to produce compatible object files so it might be possible to compile esp-idf using gcc and link it with the rest of the application compiled with clang. Did anybody attempt this?