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

Skip to content

Commit 60660c5

Browse files
authored
Merge pull request #24540 from tacaswell/doc_old_gcc_note
DOC: add note about enabling c++11 support for old gcc
2 parents caec6ad + 0fd81de commit 60660c5

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)