mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
7cd569c703
This fixes a build error compiling with `nvcc/7.5` + `gcc/4.9.2` causing a ``` ./include/pybind11/pybind11.h(952): here ./include/pybind11/pytypes.h: In member function ‘pybind11::str pybind11::handle::str() const’: ./include/pybind11/pytypes.h:269:8: error: expected primary-expression before ‘class’ return pybind11::str(str, false); ^ ./include/pybind11/pytypes.h:269:8: error: expected ‘;’ before ‘class’ ./include/pybind11/pytypes.h:269:8: error: expected primary-expression before ‘class’ ``` |
||
---|---|---|
.. | ||
pybind11 |