环境信息: centos7操作系统,python3.8
执行pip3 install clickhouse_sqlalchemy或者pip3 install greenlet报以下报错:
Command "/opt/python3.6.10-customized/bin/python3.6 -u -c "import setuptools, tokenize;file ='/tmp/pip-install-wbyi43ip/greenlet/setup.py';f=getattr(tokenize, 'open', open)(file );code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-qh_gt5sg/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-wbyi43ip/greenlet/
解决办法:
pip版本太低了,本地是18.1执行 pip3 install --upgrade pip 更新到pip-20.x后重新安装就可以了
附完整报错
pip3 install clickhouse_sqlalchemy
Collecting clickhouse_sqlalchemy
Using cached https://files.pythonhosted.org/packages/6e/e7/3cb53dfd35abe5f56d7e2db01cb8b883bd93bf15ec6e339a92fa56d4d8ec/clickhouse-sqlalchemy-0.2.3.tar.gz
Collecting sqlalchemy<1.5,>=1.4 (from clickhouse_sqlalchemy)
Using cached https://files.pythonhosted.org/packages/c6/7f/af5bcd96ea6c3bb516975ae17a5c5852fa3ec9d2e993b7e75b3656926c1c/SQLAlchemy-1.4.49-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Requirement already satisfied: requests in /opt/python3.6.10-customized/lib/python3.6/site-packages (from clickhouse_sqlalchemy) (2.25.0)
Requirement already satisfied: clickhouse-driver>=0.1.2 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from clickhouse_sqlalchemy) (0.2.5)
Collecting greenlet!=0.4.17; python_version >= "3" and (platform_machine == "aarch64" or (platform_machine == "ppc64le" or (platform_machine == "x86_64" or (platform_machine == "amd64" or (platform_machine == "AMD64" or (platform_machine == "win32" or platform_machine == "WIN32")))))) (from sqlalchemy<1.5,>=1.4->clickhouse_sqlalchemy)
Using cached https://files.pythonhosted.org/packages/1e/1e/632e55a04d732c8184201238d911207682b119c35cecbb9a573a6c566731/greenlet-2.0.2.tar.gz
Requirement already satisfied: importlib-metadata; python_version < "3.8" in /opt/python3.6.10-customized/lib/python3.6/site-packages (from sqlalchemy<1.5,>=1.4->clickhouse_sqlalchemy) (4.8.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from requests->clickhouse_sqlalchemy) (1.26.2)
Requirement already satisfied: idna<3,>=2.5 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from requests->clickhouse_sqlalchemy) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from requests->clickhouse_sqlalchemy) (2020.11.8)
Requirement already satisfied: chardet<4,>=3.0.2 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from requests->clickhouse_sqlalchemy) (3.0.4)
Requirement already satisfied: pytz in /opt/python3.6.10-customized/lib/python3.6/site-packages (from clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (2023.3)
Requirement already satisfied: tzlocal in /opt/python3.6.10-customized/lib/python3.6/site-packages (from clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (4.2)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < "3.8" in /opt/python3.6.10-customized/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->sqlalchemy<1.5,>=1.4->clickhouse_sqlalchemy) (4.1.1)
Requirement already satisfied: zipp>=0.5 in /opt/python3.6.10-customized/lib/python3.6/site-packages (from importlib-metadata; python_version < "3.8"->sqlalchemy<1.5,>=1.4->clickhouse_sqlalchemy) (3.6.0)
Requirement already satisfied: backports.zoneinfo; python_version < "3.9" in /opt/python3.6.10-customized/lib/python3.6/site-packages (from tzlocal->clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (0.2.1)
Requirement already satisfied: pytz-deprecation-shim in /opt/python3.6.10-customized/lib/python3.6/site-packages (from tzlocal->clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (0.1.0.post0)
Requirement already satisfied: importlib-resources; python_version < "3.7" in /opt/python3.6.10-customized/lib/python3.6/site-packages (from backports.zoneinfo; python_version < "3.9"->tzlocal->clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (5.4.0)
Requirement already satisfied: tzdata; python_version >= "3.6" in /opt/python3.6.10-customized/lib/python3.6/site-packages (from pytz-deprecation-shim->tzlocal->clickhouse-driver>=0.1.2->clickhouse_sqlalchemy) (2023.3)
Installing collected packages: greenlet, sqlalchemy, clickhouse-sqlalchemy
Running setup.py install for greenlet ... error
Complete output from command /opt/python3.6.10-customized/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wbyi43ip/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-qh_gt5sg/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/__init__.py -> build/lib.linux-x86_64-3.6/greenlet
creating build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/__init__.py -> build/lib.linux-x86_64-3.6/greenlet/platform
creating build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/__init__.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/leakcheck.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-3.6/greenlet/tests
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'benchmarks/*.json'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '*.py' under directory 'appveyor'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '.coverage' found anywhere in distribution
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/greenlet.cpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-3.6/greenlet
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform
copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-3.6/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-3.6/greenlet/tests
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
creating build/temp.linux-x86_64-3.6/src/greenlet
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/opt/python3.6.10-customized/include/python3.6m -c src/greenlet/greenlet.cpp -o build/temp.linux-x86_64-3.6/src/greenlet/greenlet.o
In file included from /usr/include/c++/4.8.2/cstdint:35:0,
from src/greenlet/greenlet_compiler_compat.hpp:63,
from src/greenlet/greenlet_internal.hpp:17,
from src/greenlet/greenlet.cpp:19:
/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.
#error This file requires compiler and library support for the \
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:166:9: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
explicit PyObjectPointer(T* it=nullptr) : p(it)
^
src/greenlet/greenlet_refs.hpp:181:9: warning: identifier 'noexcept' is a keyword in C++11 [-Wc++0x-compat]
inline T* borrow() const G_NOEXCEPT
^
src/greenlet/greenlet_refs.hpp:181:28: error: expected ';' at end of member declaration
inline T* borrow() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:181:34: note: in expansion of macro 'G_NOEXCEPT'
inline T* borrow() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:186:30: error: expected ';' at end of member declaration
PyObject* borrow_o() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:186:36: note: in expansion of macro 'G_NOEXCEPT'
PyObject* borrow_o() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:191:32: error: expected ';' at end of member declaration
inline T* operator->() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:191:38: note: in expansion of macro 'G_NOEXCEPT'
inline T* operator->() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:196:24: error: expected ';' at end of member declaration
bool is_None() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:196:30: note: in expansion of macro 'G_NOEXCEPT'
bool is_None() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:201:44: error: expected ';' at end of member declaration
inline PyObject* acquire_or_None() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:201:50: note: in expansion of macro 'G_NOEXCEPT'
inline PyObject* acquire_or_None() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:208:39: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 [enabled by default]
G_EXPLICIT_OP operator bool() const G_NOEXCEPT
^
src/greenlet/greenlet_refs.hpp:208:39: error: expected ';' at end of member declaration
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:208:45: note: in expansion of macro 'G_NOEXCEPT'
G_EXPLICIT_OP operator bool() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:213:36: error: expected ';' at end of member declaration
inline Py_ssize_t REFCNT() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:213:42: note: in expansion of macro 'G_NOEXCEPT'
inline Py_ssize_t REFCNT() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:218:37: error: expected ';' at end of member declaration
inline PyTypeObject* TYPE() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:218:43: note: in expansion of macro 'G_NOEXCEPT'
inline PyTypeObject* TYPE() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:223:36: error: expected ';' at end of member declaration
inline OwnedObject PyStr() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:223:42: note: in expansion of macro 'G_NOEXCEPT'
inline OwnedObject PyStr() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:224:43: error: expected ';' at end of member declaration
inline const std::string as_str() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:224:49: note: in expansion of macro 'G_NOEXCEPT'
inline const std::string as_str() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:225:66: error: expected ';' at end of member declaration
inline OwnedObject PyGetAttr(const ImmortalObject& name) const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:225:72: note: in expansion of macro 'G_NOEXCEPT'
inline OwnedObject PyGetAttr(const ImmortalObject& name) const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:166:40: error: 'nullptr' was not declared in this scope
explicit PyObjectPointer(T* it=nullptr) : p(it)
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:265:86: note: in expansion of macro 'G_NOEXCEPT'
inline bool operator==(const PyObjectPointer<T, TC>& lhs, const void* const rhs) G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:271:98: note: in expansion of macro 'G_NOEXCEPT'
inline bool operator==(const PyObjectPointer<T, TC>& lhs, const PyObjectPointer<X, XC>& rhs) G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:278:63: note: in expansion of macro 'G_NOEXCEPT'
const PyObjectPointer<X, XC>& rhs) G_NOEXCEPT
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::OwnedReference<T, <anonymous> >::OwnedReference()':
src/greenlet/greenlet_refs.hpp:310:51: error: 'nullptr' was not declared in this scope
OwnedReference() : PyObjectPointer<T, TC>(nullptr)
^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::OwnedReference<T, <anonymous> >::OwnedReference(const greenlet::refs::PyObjectPointer<>&)':
src/greenlet/greenlet_refs.hpp:314:38: error: 'nullptr' was not declared in this scope
: PyObjectPointer<T, TC>(nullptr)
^
src/greenlet/greenlet_refs.hpp: In member function 'T* greenlet::refs::OwnedReference<T, <anonymous> >::relinquish_ownership()':
src/greenlet/greenlet_refs.hpp:384:23: error: 'nullptr' was not declared in this scope
this->p = nullptr;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:420:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(NewReference);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:420:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(NewReference);
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:432:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(NewDictReference);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:432:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(NewDictReference);
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:511:39: error: expected ';' at end of member declaration
inline Greenlet* operator->() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:511:45: note: in expansion of macro 'G_NOEXCEPT'
inline Greenlet* operator->() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:512:37: error: expected ';' at end of member declaration
inline operator Greenlet*() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:512:43: note: in expansion of macro 'G_NOEXCEPT'
inline operator Greenlet*() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In member function 'T* greenlet::refs::_OwnedGreenlet<T, TC>::relinquish_ownership()':
src/greenlet/greenlet_refs.hpp:502:23: error: 'nullptr' was not declared in this scope
this->p = nullptr;
^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::BorrowedReference<T, <anonymous> >::BorrowedReference()':
src/greenlet/greenlet_refs.hpp:529:54: error: 'nullptr' was not declared in this scope
BorrowedReference() : PyObjectPointer<T, TC>(nullptr)
^
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_refs.hpp:567:39: error: expected ';' at end of member declaration
inline Greenlet* operator->() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:567:45: note: in expansion of macro 'G_NOEXCEPT'
inline Greenlet* operator->() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:568:37: error: expected ';' at end of member declaration
inline operator Greenlet*() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:568:43: note: in expansion of macro 'G_NOEXCEPT'
inline operator Greenlet*() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::_BorrowedGreenlet<T, TC>::_BorrowedGreenlet()':
src/greenlet/greenlet_refs.hpp:546:38: error: 'nullptr' was not declared in this scope
BorrowedReference<T, TC>(nullptr)
^
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_refs.hpp:588:45: error: 'nullptr' was not declared in this scope
BorrowedMainGreenlet(PyGreenlet* it=nullptr)
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:83:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:603:9: note: in expansion of macro 'G_NO_ASSIGNMENT_OF_CLS'
G_NO_ASSIGNMENT_OF_CLS(ImmortalObject);
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:634:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ImmortalString);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:634:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ImmortalString);
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::ImmortalString::ImmortalString(const char*)':
src/greenlet/greenlet_refs.hpp:638:66: error: 'nullptr' was not declared in this scope
ImmortalObject(str ? Require(Greenlet_Intern(str)) : nullptr)
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:658:62: note: in expansion of macro 'G_NOEXCEPT'
inline OwnedObject PyObjectPointer<T, TC>::PyStr() const G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:667:69: note: in expansion of macro 'G_NOEXCEPT'
inline const std::string PyObjectPointer<T, TC>::as_str() const G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_refs.hpp:688:92: note: in expansion of macro 'G_NOEXCEPT'
inline OwnedObject PyObjectPointer<T, TC>::PyGetAttr(const ImmortalObject& name) const G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:83:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:759:9: note: in expansion of macro 'G_NO_ASSIGNMENT_OF_CLS'
G_NO_ASSIGNMENT_OF_CLS(OwnedList);
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In member function 'greenlet::refs::OwnedList& greenlet::refs::OwnedList::operator=(const OwnedObject&)':
src/greenlet/greenlet_refs.hpp:781:27: error: 'nullptr' was not declared in this scope
this->p = nullptr;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:818:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(CreatedModule);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:818:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(CreatedModule);
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:873:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PyErrFetchParam);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:873:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PyErrFetchParam);
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::PyErrFetchParam::PyErrFetchParam()':
src/greenlet/greenlet_refs.hpp:878:47: error: 'nullptr' was not declared in this scope
PyErrFetchParam() : PyObjectPointer<>(nullptr)
^
src/greenlet/greenlet_refs.hpp: In member function 'PyObject* greenlet::refs::PyErrFetchParam::relinquish_ownership()':
src/greenlet/greenlet_refs.hpp:901:23: error: 'nullptr' was not declared in this scope
this->p = nullptr;
^
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_refs.hpp:917:35: error: 'nullptr' was not declared in this scope
OwnedErrPiece(PyObject* p=nullptr) : OwnedObject(p)
^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::PyErrPieces::PyErrPieces()':
src/greenlet/greenlet_refs.hpp:958:23: error: call to 'greenlet::refs::OwnedErrPiece::OwnedErrPiece(PyObject*)' uses the default argument for parameter 1, which is not yet defined
restored(0)
^
src/greenlet/greenlet_refs.hpp:958:23: error: call to 'greenlet::refs::OwnedErrPiece::OwnedErrPiece(PyObject*)' uses the default argument for parameter 1, which is not yet defined
src/greenlet/greenlet_refs.hpp:958:23: error: call to 'greenlet::refs::OwnedErrPiece::OwnedErrPiece(PyObject*)' uses the default argument for parameter 1, which is not yet defined
src/greenlet/greenlet_refs.hpp: In member function 'void greenlet::refs::PyErrPieces::normalize()':
src/greenlet/greenlet_refs.hpp:988:29: error: 'nullptr' was not declared in this scope
traceback = nullptr;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_refs.hpp:1048:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PyArgParseParam);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_refs.hpp:1048:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PyArgParseParam);
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:1050:46: error: 'nullptr' was not declared in this scope
explicit PyArgParseParam(PyObject* p=nullptr) : BorrowedObject(p)
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_greenlet.hpp:33:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ExceptionState);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:33:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ExceptionState);
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:51:58: error: expected ';' at end of member declaration
void operator<<(const PyThreadState *const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:51:60: note: in expansion of macro 'G_NOEXCEPT'
void operator<<(const PyThreadState *const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:52:46: error: expected ';' at end of member declaration
void operator>>(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:52:48: note: in expansion of macro 'G_NOEXCEPT'
void operator>>(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:53:20: error: expected ';' at end of member declaration
void clear() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:53:22: note: in expansion of macro 'G_NOEXCEPT'
void clear() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:55:51: error: expected ';' at end of member declaration
int tp_traverse(visitproc visit, void* arg) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:55:53: note: in expansion of macro 'G_NOEXCEPT'
int tp_traverse(visitproc visit, void* arg) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:56:23: error: expected ';' at end of member declaration
void tp_clear() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:56:25: note: in expansion of macro 'G_NOEXCEPT'
void tp_clear() G_NOEXCEPT;
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_greenlet.hpp:135:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PythonState);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:135:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(PythonState);
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:159:39: error: expected ';' at end of member declaration
const OwnedFrame& top_frame() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:159:45: note: in expansion of macro 'G_NOEXCEPT'
const OwnedFrame& top_frame() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:162:58: error: expected ';' at end of member declaration
void operator<<(const PyThreadState *const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:162:60: note: in expansion of macro 'G_NOEXCEPT'
void operator<<(const PyThreadState *const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:163:46: error: expected ';' at end of member declaration
void operator>>(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:163:48: note: in expansion of macro 'G_NOEXCEPT'
void operator>>(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:164:20: error: expected ';' at end of member declaration
void clear() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:164:22: note: in expansion of macro 'G_NOEXCEPT'
void clear() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:166:73: error: expected ';' at end of member declaration
int tp_traverse(visitproc visit, void* arg, bool visit_top_frame) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:166:75: note: in expansion of macro 'G_NOEXCEPT'
int tp_traverse(visitproc visit, void* arg, bool visit_top_frame) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:167:41: error: expected ';' at end of member declaration
void tp_clear(bool own_top_frame) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:167:43: note: in expansion of macro 'G_NOEXCEPT'
void tp_clear(bool own_top_frame) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:168:65: error: expected ';' at end of member declaration
void set_initial_state(const PyThreadState* const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:168:67: note: in expansion of macro 'G_NOEXCEPT'
void set_initial_state(const PyThreadState* const tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:172:65: error: expected ';' at end of member declaration
void will_switch_from(PyThreadState *const origin_tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:172:67: note: in expansion of macro 'G_NOEXCEPT'
void will_switch_from(PyThreadState *const origin_tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:173:46: error: expected ';' at end of member declaration
void did_finish(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:173:48: note: in expansion of macro 'G_NOEXCEPT'
void did_finish(PyThreadState* tstate) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:191:67: error: expected ';' at end of member declaration
inline int copy_stack_to_heap_up_to(const char* const stop) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:191:69: note: in expansion of macro 'G_NOEXCEPT'
inline int copy_stack_to_heap_up_to(const char* const stop) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:192:37: error: expected ';' at end of member declaration
inline void free_stack_copy() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:192:39: note: in expansion of macro 'G_NOEXCEPT'
inline void free_stack_copy() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:207:65: error: expected ';' at end of member declaration
inline void copy_heap_to_stack(const StackState& current) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:207:67: note: in expansion of macro 'G_NOEXCEPT'
inline void copy_heap_to_stack(const StackState& current) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:208:86: error: expected ';' at end of member declaration
inline int copy_stack_to_heap(char* const stackref, const StackState& current) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:208:88: note: in expansion of macro 'G_NOEXCEPT'
inline int copy_stack_to_heap(char* const stackref, const StackState& current) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:209:31: error: expected ';' at end of member declaration
inline bool started() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:209:37: note: in expansion of macro 'G_NOEXCEPT'
inline bool started() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:210:28: error: expected ';' at end of member declaration
inline bool main() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:210:34: note: in expansion of macro 'G_NOEXCEPT'
inline bool main() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:211:30: error: expected ';' at end of member declaration
inline bool active() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:211:36: note: in expansion of macro 'G_NOEXCEPT'
inline bool active() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:212:32: error: expected ';' at end of member declaration
inline void set_active() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:212:34: note: in expansion of macro 'G_NOEXCEPT'
inline void set_active() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:213:34: error: expected ';' at end of member declaration
inline void set_inactive() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:213:36: note: in expansion of macro 'G_NOEXCEPT'
inline void set_inactive() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:214:39: error: expected ';' at end of member declaration
inline intptr_t stack_saved() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:214:45: note: in expansion of macro 'G_NOEXCEPT'
inline intptr_t stack_saved() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:215:36: error: expected ';' at end of member declaration
inline char* stack_start() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:215:42: note: in expansion of macro 'G_NOEXCEPT'
inline char* stack_start() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:216:44: error: expected ';' at end of member declaration
static inline StackState make_main() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:216:46: note: in expansion of macro 'G_NOEXCEPT'
static inline StackState make_main() G_NOEXCEPT;
^
src/greenlet/greenlet_compiler_compat.hpp:83:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:228:9: note: in expansion of macro 'G_NO_ASSIGNMENT_OF_CLS'
G_NO_ASSIGNMENT_OF_CLS(SwitchingArgs);
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:296:39: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 [enabled by default]
G_EXPLICIT_OP operator bool() const G_NOEXCEPT
^
src/greenlet/greenlet_greenlet.hpp:296:39: error: expected ';' at end of member declaration
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:296:45: note: in expansion of macro 'G_NOEXCEPT'
G_EXPLICIT_OP operator bool() const G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_greenlet.hpp:316:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(Greenlet);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:316:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(Greenlet);
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:345:39: error: expected ';' at end of member declaration
inline intptr_t stack_saved() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:345:45: note: in expansion of macro 'G_NOEXCEPT'
inline intptr_t stack_saved() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:355:42: error: expected ';' at end of member declaration
inline const char* stack_start() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:355:48: note: in expansion of macro 'G_NOEXCEPT'
inline const char* stack_start() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:389:39: error: expected ';' at end of member declaration
inline void slp_restore_state() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:389:41: note: in expansion of macro 'G_NOEXCEPT'
inline void slp_restore_state() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:390:55: error: expected ';' at end of member declaration
inline int slp_save_state(char *const stackref) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:390:57: note: in expansion of macro 'G_NOEXCEPT'
inline int slp_save_state(char *const stackref) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:428:45: error: expected ';' at end of member declaration
virtual ThreadState* thread_state() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:428:51: note: in expansion of macro 'G_NOEXCEPT'
virtual ThreadState* thread_state() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:432:51: error: expected ';' at end of member declaration
virtual bool was_running_in_dead_thread() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:432:57: note: in expansion of macro 'G_NOEXCEPT'
virtual bool was_running_in_dead_thread() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:436:41: error: expected ';' at end of member declaration
virtual BorrowedGreenlet self() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:436:47: note: in expansion of macro 'G_NOEXCEPT'
virtual BorrowedGreenlet self() const G_NOEXCEPT = 0;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:490:53: error: expected ';' at end of member declaration
virtual OwnedGreenlet g_switchstack_success() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:490:55: note: in expansion of macro 'G_NOEXCEPT'
virtual OwnedGreenlet g_switchstack_success() G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:333:63: error: 'nullptr' was not declared in this scope
const OwnedObject context(const typename IsPy37::IsIt=nullptr) const;
^
src/greenlet/greenlet_greenlet.hpp:336:85: error: 'nullptr' was not declared in this scope
inline void context(refs::BorrowedObject new_context, typename IsPy37::IsIt=nullptr);
^
src/greenlet/greenlet_greenlet.hpp: In constructor 'greenlet::Greenlet::switchstack_result_t::switchstack_result_t()':
src/greenlet/greenlet_greenlet.hpp:458:43: error: 'nullptr' was not declared in this scope
the_state_that_switched(nullptr)
^
src/greenlet/greenlet_greenlet.hpp: In constructor 'greenlet::Greenlet::switchstack_result_t::switchstack_result_t(int)':
src/greenlet/greenlet_greenlet.hpp:463:43: error: 'nullptr' was not declared in this scope
the_state_that_switched(nullptr)
^
src/greenlet/greenlet_greenlet.hpp: At global scope:
src/greenlet/greenlet_greenlet.hpp:561:51: error: expected ';' at end of member declaration
virtual bool was_running_in_dead_thread() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:561:57: note: in expansion of macro 'G_NOEXCEPT'
virtual bool was_running_in_dead_thread() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:562:45: error: expected ';' at end of member declaration
virtual ThreadState* thread_state() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:562:51: note: in expansion of macro 'G_NOEXCEPT'
virtual ThreadState* thread_state() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:578:41: error: expected ';' at end of member declaration
virtual BorrowedGreenlet self() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:578:47: note: in expansion of macro 'G_NOEXCEPT'
virtual BorrowedGreenlet self() const G_NOEXCEPT;
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_greenlet.hpp:588:13: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ParentIsCurrentGuard);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:588:13: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(ParentIsCurrentGuard);
^
src/greenlet/greenlet_compiler_compat.hpp:79:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls(const Cls& other) = delete; \
^
src/greenlet/greenlet_greenlet.hpp:606:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(MainGreenlet);
^
src/greenlet/greenlet_compiler_compat.hpp:80:40: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
Cls& operator=(const Cls& other) = delete
^
src/greenlet/greenlet_greenlet.hpp:606:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
G_NO_COPIES_OF_CLS(MainGreenlet);
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:624:51: error: expected ';' at end of member declaration
virtual bool was_running_in_dead_thread() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:624:57: note: in expansion of macro 'G_NOEXCEPT'
virtual bool was_running_in_dead_thread() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:625:45: error: expected ';' at end of member declaration
virtual ThreadState* thread_state() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:625:51: note: in expansion of macro 'G_NOEXCEPT'
virtual ThreadState* thread_state() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:626:39: error: expected ';' at end of member declaration
void thread_state(ThreadState*) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:626:41: note: in expansion of macro 'G_NOEXCEPT'
void thread_state(ThreadState*) G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:628:41: error: expected ';' at end of member declaration
virtual BorrowedGreenlet self() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: 'noexcept' does not name a type
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:628:47: note: in expansion of macro 'G_NOEXCEPT'
virtual BorrowedGreenlet self() const G_NOEXCEPT;
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:694:68: note: in expansion of macro 'G_NOEXCEPT'
void ExceptionState::operator<<(const PyThreadState *const tstate) G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:703:62: note: in expansion of macro 'G_NOEXCEPT'
void ExceptionState::operator>>(PyThreadState *const tstate) G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:713:30: note: in expansion of macro 'G_NOEXCEPT'
void ExceptionState::clear() G_NOEXCEPT
^
src/greenlet/greenlet_compiler_compat.hpp:66:20: error: expected initializer before 'noexcept'
#define G_NOEXCEPT noexcept
^
src/greenlet/greenlet_greenlet.hpp:722:61: note: in expansion of macro 'G_NOEXCEPT'
int ExceptionState::tp_traverse(visitproc visit, void* arg) G_NOEXCEPT
^
src/greenlet/greenlet.cpp:187:32: error: expected declaration before end of line
# pragma GCC diagnostic push
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:67:9: warning: inline function 'void greenlet::refs::MainGreenletExactChecker(void*)' used but never defined [enabled by default]
MainGreenletExactChecker(void *p);
^
src/greenlet/greenlet_refs.hpp:181:19: warning: inline function 'T* greenlet::refs::PyObjectPointer<T, <anonymous> >::borrow() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::MainGreenletExactChecker]' used but never defined [enabled by default]
inline T* borrow() const G_NOEXCEPT
^
src/greenlet/greenlet_refs.hpp:181:19: warning: inline function 'T* greenlet::refs::PyObjectPointer<T, <anonymous> >::borrow() const [with T = _object; void (* TC)(void*) = greenlet::refs::NoOpChecker]' used but never defined [enabled by default]
src/greenlet/greenlet_refs.hpp:191:19: warning: inline function 'T* greenlet::refs::PyObjectPointer<T, <anonymous> >::operator->() const [with T = _object; void (* TC)(void*) = greenlet::refs::NoOpChecker]' used but never defined [enabled by default]
inline T* operator->() const G_NOEXCEPT
^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:209:21: warning: inline function 'bool greenlet::StackState::started() const' used but never defined [enabled by default]
inline bool started() const G_NOEXCEPT;
^
src/greenlet/greenlet_greenlet.hpp:211:21: warning: inline function 'bool greenlet::StackState::active() const' used but never defined [enabled by default]
inline bool active() const G_NOEXCEPT;
^
src/greenlet/greenlet_greenlet.hpp:210:21: warning: inline function 'bool greenlet::StackState::main() const' used but never defined [enabled by default]
inline bool main() const G_NOEXCEPT;
^
In file included from src/greenlet/greenlet_greenlet.hpp:11:0,
from src/greenlet/greenlet_internal.hpp:20,
from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_refs.hpp:181:19: warning: inline function 'T* greenlet::refs::PyObjectPointer<T, <anonymous> >::borrow() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::GreenletChecker]' used but never defined [enabled by default]
inline T* borrow() const G_NOEXCEPT
^
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/opt/python3.6.10-customized/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wbyi43ip/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-qh_gt5sg/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-wbyi43ip/greenlet/
You are using pip version 18.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.