-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Doc]: update minimum gcc version? #24530
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
Comments
It seems like it is not clear from the docs when this was turned on by default, so not clear if one should bump the version or possibly clarify how to build with 4.8.1? That is, how to pass the compiler flag (environment variable?). |
https://gcc.gnu.org/projects/cxx-status.html#cxx11 says 4.8.1 is the minimum that implements c++11 and 6.5 (https://gcc.gnu.org/onlinedocs/gcc-6.5.0/gcc/Standards.html#C_002b_002b-Language) is the first version that defaults to c++11 (well, actually gnu++14 which I am assuming is a superset of c++11). I think the lazy fix here is to add a note that for old gcc the |
IMHO lazy is good enough here. If somebody is able and wiling enough to compile from source, we can expect them to read the docs (at least when something is not working). Also this will become less important one time less because it only affects older gcc versions. Both reasons make the issue less critical. |
Closes matplotlib#24530 This will produce warnings, but will compile.
Closes matplotlib#24530 This will produce warnings, but will compile.
Closes matplotlib#24530 This will produce warnings, but will compile.
Documentation Link
https://matplotlib.org/devdocs/devel/dependencies.html#c-compiler
Problem
The minimum stated version of gcc for building matplotlib is currently 4.8.1. When trying to build matplotlib with (our system default) gcc v4.8.5, I get
On the same system, if I point at gcc v8.1.0, the build works fine.
Suggested improvement
I suspect the simplest option would be to increase the stated minimum version in the installation guide, though I do not know what version that would be. I note that 4.8.5 came out in 2015.
The text was updated successfully, but these errors were encountered: