Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fd81de

Browse files
committed
DOC: add note about enabling c++11 support for old gcc
Closes #24530 This will produce warnings, but will compile.
1 parent 7c0d03a commit 0fd81de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/devel/dependencies.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ C++ compiler
213213

214214
Matplotlib requires a C++ compiler that supports C++11.
215215

216-
- `gcc 4.8.1 <https://gcc.gnu.org/projects/cxx-status.html#cxx11>`_ or higher
216+
- `gcc 4.8.1 <https://gcc.gnu.org/projects/cxx-status.html#cxx11>`_ or higher. For gcc <6.5 you will
217+
need to set ``$CFLAGS=-std=c++11`` to enable C++11 support.
217218
- `clang 3.3 <https://clang.llvm.org/cxx_status.html>`_ or higher
218219
- `Visual Studio 2015
219220
<https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=msvc-140>`_

0 commit comments

Comments
 (0)