I am working on writing a program for the nodemcu ESP8266, and I would like to use some features from C++17. However, adding this to the build flags doesn’t work as the native g++ compiler is pretty outdated (thanks to arduino). Is it possible to use C++17 in this context? If so, how would I go about doing that?
This is the ini file I tried to use by the way, but as expected the ‘-std=c++17’ flag is not recognized.
[env:nodemcuv2] platform = espressif8266 board = nodemcuv2 framework = arduino build_unflags = -std=c++11 build_flags = -std=c++17