-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set C++ spec on Linux to allow initializer lists #19
Conversation
That's odd, isn't |
It is, but that didn't prevent the argument list from causing an error. I'm using g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 and I admit that I did not look into the difference between gnu++11 and c++11. |
Could you please post the full output you get from |
2.3.1 /opt/esp8266/mkspiffs master! $ make |
Ok, the argument list doesn't contain |
Here's a more useful one; clearing my local CXXFLAGS first. 2.3.1 /opt/esp8266/mkspiffs master! $ CXXFLAGS= make |
Could you please try changing the first two lines of the Makefile to
|
That got rid of the error. |
Okay, probably the most reliable way would be
so that it is still possible to override some of these flags from the command line, if needed. |
OK. I'll close this PR and let you make that change. Thanks! |
Running 'make' on Linux, I get this error.
This change allows initializer lists.