I’m trying to do #include <concepts>
into an ESP32-S3 C++ project.
I’ve configured the project to use C++20. The compiler accepts my own concepts, but still I can’t include the concepts library. It seems like PlatformIO just doesn’t have it implemented.
The error message is:
fatal error: concepts: No such file or directory
I am not an expert here, but it is not because PlatformIO has not implemented something, but because Espressif has not implemented it in the xtensa-toolchain.
If you’re already using the latest toolchain-xtensa-esp32s3
package, using platform_packages if needed, and concepts
is still not available, it’s a fault of the toolchain. Not “PlatformIO”.