Closed Hopson97 closed 4 years ago
I have also had this problem for a long time now (in other projects as well). Also still desperately looking for a solution...
The thing is, you can try to reinstall the compilers with a version that supports this (g++-8 should suffice if I'm correct, not 100% sure, would have to check), but I have tried this in other projects and it somehow still does not work. See this job where I tried to upgrade the gcc and g++ compilers to version 8. I even exported the new values to the corresponding CC and CXX environment variables. CMake still identifies the compilers as GNU 7.5.0 which is unexpected...
Alright, I did some experimenting on one of my projects. I will propose an update for the automatic install script shortly, we'll see whether that does the trick, let us hope ;)
This can probably be closed now with #175 merged :)
Thanks again :)
Describe your suggestion
The current GitHub actions setup fails to build any code that uses certain C++17 features, such as
std::filesystem
andstd::optional
.As a result of this I am reluctant to use these features, despite their usefulness.
Implementations ideas [optional]
I have tired to find a solution to this, but have not.