Skip to content

[Doc]: update minimum gcc version? #24530

@rcomer

Description

@rcomer

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

/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions