+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/py310-greenlet-3.0.3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/py310-greenlet-3.0.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for py310-greenlet-3.0.3
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/__init__.py -> build/lib.linux-x86_64-cpython-310/greenlet
creating build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_slp_switch.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets2.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_cpp_exception.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_initialstub_already_started.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_clearing_run_switches.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/leakcheck.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_switch_three_greenlets.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/fail_switch_two_greenlets.py -> build/lib.linux-x86_64-cpython-310/greenlet/tests
creating build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/__init__.py -> build/lib.linux-x86_64-cpython-310/greenlet/platform
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
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/TBrokenGreenlet.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TExceptionState.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TGreenlet.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TGreenletGlobals.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TMainGreenlet.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TPythonState.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TStackState.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TThreadStateDestroy.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/TUserGreenlet.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet.cpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_cpython_add_pending.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-cpython-310/greenlet
copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-cpython-310/greenlet/tests
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_loongarch64_linux.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-cpython-310/greenlet/platform
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/src
creating build/temp.linux-x86_64-cpython-310/src/greenlet
cc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -I/usr/include -I/usr/pkg/include -DNCURSES_WIDECHAR=1 -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -I/usr/include -I/usr/pkg/include -DNCURSES_WIDECHAR=1 -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -I/usr/include -I/usr/pkg/include -DNCURSES_WIDECHAR=1 -I/usr/pkg/include/ncurses -I/usr/pkg/include/db4 -pipe -O2 -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/include -I/usr/pkg/include/python3.10 -fPIC -I/usr/pkg/include/python3.10 -c src/greenlet/greenlet.cpp -o build/temp.linux-x86_64-cpython-310/src/greenlet/greenlet.o
In file included from /usr/include/c++/4.8.2/cstdint:35:0,
                 from src/greenlet/greenlet_compiler_compat.hpp:39,
                 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:180:28: error: expected ';' at end of member declaration
         inline T* borrow() const noexcept
                            ^
src/greenlet/greenlet_refs.hpp:180:34: error: 'noexcept' does not name a type
         inline T* borrow() const noexcept
                                  ^
src/greenlet/greenlet_refs.hpp:185:30: error: expected ';' at end of member declaration
         PyObject* borrow_o() const noexcept
                              ^
src/greenlet/greenlet_refs.hpp:185:36: error: 'noexcept' does not name a type
         PyObject* borrow_o() const noexcept
                                    ^
src/greenlet/greenlet_refs.hpp:190:32: error: expected ';' at end of member declaration
         inline T* operator->() const noexcept
                                ^
src/greenlet/greenlet_refs.hpp:190:38: error: 'noexcept' does not name a type
         inline T* operator->() const noexcept
                                      ^
src/greenlet/greenlet_refs.hpp:195:24: error: expected ';' at end of member declaration
         bool is_None() const noexcept
                        ^
src/greenlet/greenlet_refs.hpp:195:30: error: 'noexcept' does not name a type
         bool is_None() const noexcept
                              ^
src/greenlet/greenlet_refs.hpp:200:44: error: expected ';' at end of member declaration
         inline PyObject* acquire_or_None() const noexcept
                                            ^
src/greenlet/greenlet_refs.hpp:200:50: error: 'noexcept' does not name a type
         inline PyObject* acquire_or_None() const noexcept
                                                  ^
src/greenlet/greenlet_refs.hpp:207:34: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 [enabled by default]
         explicit operator bool() const noexcept
                                  ^
src/greenlet/greenlet_refs.hpp:207:34: error: expected ';' at end of member declaration
src/greenlet/greenlet_refs.hpp:207:40: error: 'noexcept' does not name a type
         explicit operator bool() const noexcept
                                        ^
src/greenlet/greenlet_refs.hpp:212:36: error: expected ';' at end of member declaration
         inline Py_ssize_t REFCNT() const noexcept
                                    ^
src/greenlet/greenlet_refs.hpp:212:42: error: 'noexcept' does not name a type
         inline Py_ssize_t REFCNT() const noexcept
                                          ^
src/greenlet/greenlet_refs.hpp:217:37: error: expected ';' at end of member declaration
         inline PyTypeObject* TYPE() const noexcept
                                     ^
src/greenlet/greenlet_refs.hpp:217:43: error: 'noexcept' does not name a type
         inline PyTypeObject* TYPE() const noexcept
                                           ^
src/greenlet/greenlet_refs.hpp:222:36: error: expected ';' at end of member declaration
         inline OwnedObject PyStr() const noexcept;
                                    ^
src/greenlet/greenlet_refs.hpp:222:42: error: 'noexcept' does not name a type
         inline OwnedObject PyStr() const noexcept;
                                          ^
src/greenlet/greenlet_refs.hpp:223:43: error: expected ';' at end of member declaration
         inline const std::string as_str() const noexcept;
                                           ^
src/greenlet/greenlet_refs.hpp:223:49: error: 'noexcept' does not name a type
         inline const std::string as_str() const noexcept;
                                                 ^
src/greenlet/greenlet_refs.hpp:224:66: error: expected ';' at end of member declaration
         inline OwnedObject PyGetAttr(const ImmortalObject& name) const noexcept;
                                                                  ^
src/greenlet/greenlet_refs.hpp:224:72: error: 'noexcept' does not name a type
         inline OwnedObject PyGetAttr(const ImmortalObject& name) const noexcept;
                                                                        ^
src/greenlet/greenlet_refs.hpp:165:40: error: 'nullptr' was not declared in this scope
         explicit PyObjectPointer(T* it=nullptr) : p(it)
                                        ^
src/greenlet/greenlet_refs.hpp:264:86: error: expected initializer before 'noexcept'
     inline bool operator==(const PyObjectPointer<T, TC>& lhs, const void* const rhs) noexcept
                                                                                      ^
src/greenlet/greenlet_refs.hpp:270:98: error: expected initializer before 'noexcept'
     inline bool operator==(const PyObjectPointer<T, TC>& lhs, const PyObjectPointer<X, XC>& rhs) noexcept
                                                                                                  ^
src/greenlet/greenlet_refs.hpp:277:63: error: expected initializer before 'noexcept'
                            const PyObjectPointer<X, XC>& rhs) noexcept
                                                               ^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::OwnedReference<T, <anonymous> >::OwnedReference()':
src/greenlet/greenlet_refs.hpp:309: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:313: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:383: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:50: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:419:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(NewReference);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:419:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(NewReference);
         ^
src/greenlet/greenlet_compiler_compat.hpp:50: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:431:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(NewDictReference);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:431: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:510:39: error: expected ';' at end of member declaration
         inline Greenlet* operator->() const noexcept;
                                       ^
src/greenlet/greenlet_refs.hpp:510:45: error: 'noexcept' does not name a type
         inline Greenlet* operator->() const noexcept;
                                             ^
src/greenlet/greenlet_refs.hpp:511:37: error: expected ';' at end of member declaration
         inline operator Greenlet*() const noexcept;
                                     ^
src/greenlet/greenlet_refs.hpp:511:43: error: 'noexcept' does not name a type
         inline operator Greenlet*() const noexcept;
                                           ^
src/greenlet/greenlet_refs.hpp: In member function 'T* greenlet::refs::_OwnedGreenlet<T, TC>::relinquish_ownership()':
src/greenlet/greenlet_refs.hpp:501: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:528: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:566:39: error: expected ';' at end of member declaration
         inline Greenlet* operator->() const noexcept;
                                       ^
src/greenlet/greenlet_refs.hpp:566:45: error: 'noexcept' does not name a type
         inline Greenlet* operator->() const noexcept;
                                             ^
src/greenlet/greenlet_refs.hpp:567:37: error: expected ';' at end of member declaration
         inline operator Greenlet*() const noexcept;
                                     ^
src/greenlet/greenlet_refs.hpp:567:43: error: 'noexcept' does not name a type
         inline operator Greenlet*() const noexcept;
                                           ^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::_BorrowedGreenlet<T, TC>::_BorrowedGreenlet()':
src/greenlet/greenlet_refs.hpp:545: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:587: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:54: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:602:9: note: in expansion of macro 'G_NO_ASSIGNMENT_OF_CLS'
         G_NO_ASSIGNMENT_OF_CLS(ImmortalObject);
         ^
src/greenlet/greenlet_compiler_compat.hpp:50: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:639:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ImmortalString);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:639: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:643:77: error: 'nullptr' was not declared in this scope
             ImmortalObject(str ? Require(PyUnicode_InternFromString(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:50: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:670:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ImmortalEventName);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:670:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ImmortalEventName);
         ^
src/greenlet/greenlet_compiler_compat.hpp:50: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:679:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ImmortalException);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:679:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ImmortalException);
         ^
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:681:66: error: 'nullptr' was not declared in this scope
         ImmortalException(const char* const name, PyObject* base=nullptr) :
                                                                  ^
src/greenlet/greenlet_refs.hpp: In constructor 'greenlet::refs::ImmortalException::ImmortalException(const char*, PyObject*)':
src/greenlet/greenlet_refs.hpp:684:76: error: 'nullptr' was not declared in this scope
                            ? Require(PyErr_NewException((char*)name, base, nullptr))
                                                                            ^
src/greenlet/greenlet_refs.hpp: At global scope:
src/greenlet/greenlet_refs.hpp:696:62: error: expected initializer before 'noexcept'
     inline OwnedObject PyObjectPointer<T, TC>::PyStr() const noexcept
                                                              ^
src/greenlet/greenlet_refs.hpp:705:69: error: expected initializer before 'noexcept'
     inline const std::string PyObjectPointer<T, TC>::as_str() const noexcept
                                                                     ^
src/greenlet/greenlet_refs.hpp:722:92: error: expected initializer before 'noexcept'
     inline OwnedObject PyObjectPointer<T, TC>::PyGetAttr(const ImmortalObject& name) const noexcept
                                                                                            ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:54: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:797: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:819: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:50: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:856:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(CreatedModule);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:856:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(CreatedModule);
         ^
src/greenlet/greenlet_compiler_compat.hpp:50: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:911:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(PyErrFetchParam);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:911: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:916: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:939: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:955: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:996: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:996: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:996: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:1026: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:50: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:1086:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(PyArgParseParam);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:1086: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:1088: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:50: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:37:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(ExceptionState);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:37: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:47:58: error: expected ';' at end of member declaration
         void operator<<(const PyThreadState *const tstate) noexcept;
                                                          ^
src/greenlet/greenlet_greenlet.hpp:47:60: error: 'noexcept' does not name a type
         void operator<<(const PyThreadState *const tstate) noexcept;
                                                            ^
src/greenlet/greenlet_greenlet.hpp:48:46: error: expected ';' at end of member declaration
         void operator>>(PyThreadState* tstate) noexcept;
                                              ^
src/greenlet/greenlet_greenlet.hpp:48:48: error: 'noexcept' does not name a type
         void operator>>(PyThreadState* tstate) noexcept;
                                                ^
src/greenlet/greenlet_greenlet.hpp:49:20: error: expected ';' at end of member declaration
         void clear() noexcept;
                    ^
src/greenlet/greenlet_greenlet.hpp:49:22: error: 'noexcept' does not name a type
         void clear() noexcept;
                      ^
src/greenlet/greenlet_greenlet.hpp:51:51: error: expected ';' at end of member declaration
         int tp_traverse(visitproc visit, void* arg) noexcept;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:51:53: error: 'noexcept' does not name a type
         int tp_traverse(visitproc visit, void* arg) noexcept;
                                                     ^
src/greenlet/greenlet_greenlet.hpp:52:23: error: expected ';' at end of member declaration
         void tp_clear() noexcept;
                       ^
src/greenlet/greenlet_greenlet.hpp:52:25: error: 'noexcept' does not name a type
         void tp_clear() noexcept;
                         ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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:96:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(PythonState);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:96: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:137:39: error: expected ';' at end of member declaration
         const OwnedFrame& top_frame() const noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:137:45: error: 'noexcept' does not name a type
         const OwnedFrame& top_frame() const noexcept;
                                             ^
src/greenlet/greenlet_greenlet.hpp:139:65: error: expected ';' at end of member declaration
         inline void operator<<(const PyThreadState *const tstate) noexcept;
                                                                 ^
src/greenlet/greenlet_greenlet.hpp:139:67: error: 'noexcept' does not name a type
         inline void operator<<(const PyThreadState *const tstate) noexcept;
                                                                   ^
src/greenlet/greenlet_greenlet.hpp:140:53: error: expected ';' at end of member declaration
         inline void operator>>(PyThreadState* tstate) noexcept;
                                                     ^
src/greenlet/greenlet_greenlet.hpp:140:55: error: 'noexcept' does not name a type
         inline void operator>>(PyThreadState* tstate) noexcept;
                                                       ^
src/greenlet/greenlet_greenlet.hpp:141:20: error: expected ';' at end of member declaration
         void clear() noexcept;
                    ^
src/greenlet/greenlet_greenlet.hpp:141:22: error: 'noexcept' does not name a type
         void clear() noexcept;
                      ^
src/greenlet/greenlet_greenlet.hpp:143:73: error: expected ';' at end of member declaration
         int tp_traverse(visitproc visit, void* arg, bool visit_top_frame) noexcept;
                                                                         ^
src/greenlet/greenlet_greenlet.hpp:143:75: error: 'noexcept' does not name a type
         int tp_traverse(visitproc visit, void* arg, bool visit_top_frame) noexcept;
                                                                           ^
src/greenlet/greenlet_greenlet.hpp:144:41: error: expected ';' at end of member declaration
         void tp_clear(bool own_top_frame) noexcept;
                                         ^
src/greenlet/greenlet_greenlet.hpp:144:43: error: 'noexcept' does not name a type
         void tp_clear(bool own_top_frame) noexcept;
                                           ^
src/greenlet/greenlet_greenlet.hpp:145:65: error: expected ';' at end of member declaration
         void set_initial_state(const PyThreadState* const tstate) noexcept;
                                                                 ^
src/greenlet/greenlet_greenlet.hpp:145:67: error: 'noexcept' does not name a type
         void set_initial_state(const PyThreadState* const tstate) noexcept;
                                                                   ^
src/greenlet/greenlet_greenlet.hpp:147:45: error: expected ';' at end of member declaration
         void set_new_cframe(_PyCFrame& frame) noexcept;
                                             ^
src/greenlet/greenlet_greenlet.hpp:147:47: error: 'noexcept' does not name a type
         void set_new_cframe(_PyCFrame& frame) noexcept;
                                               ^
src/greenlet/greenlet_greenlet.hpp:150:37: error: expected ';' at end of member declaration
         inline void may_switch_away() noexcept;
                                     ^
src/greenlet/greenlet_greenlet.hpp:150:39: error: 'noexcept' does not name a type
         inline void may_switch_away() noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:151:72: error: expected ';' at end of member declaration
         inline void will_switch_from(PyThreadState *const origin_tstate) noexcept;
                                                                        ^
src/greenlet/greenlet_greenlet.hpp:151:74: error: 'noexcept' does not name a type
         inline void will_switch_from(PyThreadState *const origin_tstate) noexcept;
                                                                          ^
src/greenlet/greenlet_greenlet.hpp:152:46: error: expected ';' at end of member declaration
         void did_finish(PyThreadState* tstate) noexcept;
                                              ^
src/greenlet/greenlet_greenlet.hpp:152:48: error: 'noexcept' does not name a type
         void did_finish(PyThreadState* tstate) noexcept;
                                                ^
src/greenlet/greenlet_greenlet.hpp:170:67: error: expected ';' at end of member declaration
         inline int copy_stack_to_heap_up_to(const char* const stop) noexcept;
                                                                   ^
src/greenlet/greenlet_greenlet.hpp:170:69: error: 'noexcept' does not name a type
         inline int copy_stack_to_heap_up_to(const char* const stop) noexcept;
                                                                     ^
src/greenlet/greenlet_greenlet.hpp:171:37: error: expected ';' at end of member declaration
         inline void free_stack_copy() noexcept;
                                     ^
src/greenlet/greenlet_greenlet.hpp:171:39: error: 'noexcept' does not name a type
         inline void free_stack_copy() noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:186:65: error: expected ';' at end of member declaration
         inline void copy_heap_to_stack(const StackState& current) noexcept;
                                                                 ^
src/greenlet/greenlet_greenlet.hpp:186:67: error: 'noexcept' does not name a type
         inline void copy_heap_to_stack(const StackState& current) noexcept;
                                                                   ^
src/greenlet/greenlet_greenlet.hpp:187:86: error: expected ';' at end of member declaration
         inline int copy_stack_to_heap(char* const stackref, const StackState& current) noexcept;
                                                                                      ^
src/greenlet/greenlet_greenlet.hpp:187:88: error: 'noexcept' does not name a type
         inline int copy_stack_to_heap(char* const stackref, const StackState& current) noexcept;
                                                                                        ^
src/greenlet/greenlet_greenlet.hpp:188:31: error: expected ';' at end of member declaration
         inline bool started() const noexcept;
                               ^
src/greenlet/greenlet_greenlet.hpp:188:37: error: 'noexcept' does not name a type
         inline bool started() const noexcept;
                                     ^
src/greenlet/greenlet_greenlet.hpp:189:28: error: expected ';' at end of member declaration
         inline bool main() const noexcept;
                            ^
src/greenlet/greenlet_greenlet.hpp:189:34: error: 'noexcept' does not name a type
         inline bool main() const noexcept;
                                  ^
src/greenlet/greenlet_greenlet.hpp:190:30: error: expected ';' at end of member declaration
         inline bool active() const noexcept;
                              ^
src/greenlet/greenlet_greenlet.hpp:190:36: error: 'noexcept' does not name a type
         inline bool active() const noexcept;
                                    ^
src/greenlet/greenlet_greenlet.hpp:191:32: error: expected ';' at end of member declaration
         inline void set_active() noexcept;
                                ^
src/greenlet/greenlet_greenlet.hpp:191:34: error: 'noexcept' does not name a type
         inline void set_active() noexcept;
                                  ^
src/greenlet/greenlet_greenlet.hpp:192:34: error: expected ';' at end of member declaration
         inline void set_inactive() noexcept;
                                  ^
src/greenlet/greenlet_greenlet.hpp:192:36: error: 'noexcept' does not name a type
         inline void set_inactive() noexcept;
                                    ^
src/greenlet/greenlet_greenlet.hpp:193:39: error: expected ';' at end of member declaration
         inline intptr_t stack_saved() const noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:193:45: error: 'noexcept' does not name a type
         inline intptr_t stack_saved() const noexcept;
                                             ^
src/greenlet/greenlet_greenlet.hpp:194:36: error: expected ';' at end of member declaration
         inline char* stack_start() const noexcept;
                                    ^
src/greenlet/greenlet_greenlet.hpp:194:42: error: 'noexcept' does not name a type
         inline char* stack_start() const noexcept;
                                          ^
src/greenlet/greenlet_greenlet.hpp:195:44: error: expected ';' at end of member declaration
         static inline StackState make_main() noexcept;
                                            ^
src/greenlet/greenlet_greenlet.hpp:195:46: error: 'noexcept' does not name a type
         static inline StackState make_main() noexcept;
                                              ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:54: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:215: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:283:34: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11 [enabled by default]
         explicit operator bool() const noexcept
                                  ^
src/greenlet/greenlet_greenlet.hpp:283:34: error: expected ';' at end of member declaration
src/greenlet/greenlet_greenlet.hpp:283:40: error: 'noexcept' does not name a type
         explicit operator bool() const noexcept
                                        ^
src/greenlet/greenlet_greenlet.hpp:294:36: error: expected ';' at end of member declaration
         const std::string as_str() const noexcept
                                    ^
src/greenlet/greenlet_greenlet.hpp:294:42: error: 'noexcept' does not name a type
         const std::string as_str() const noexcept
                                          ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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:51: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:355:39: error: expected ';' at end of member declaration
         inline intptr_t stack_saved() const noexcept
                                       ^
src/greenlet/greenlet_greenlet.hpp:355:45: error: 'noexcept' does not name a type
         inline intptr_t stack_saved() const noexcept
                                             ^
src/greenlet/greenlet_greenlet.hpp:365:42: error: expected ';' at end of member declaration
         inline const char* stack_start() const noexcept
                                          ^
src/greenlet/greenlet_greenlet.hpp:365:48: error: 'noexcept' does not name a type
         inline const char* stack_start() const noexcept
                                                ^
src/greenlet/greenlet_greenlet.hpp:412:39: error: expected ';' at end of member declaration
         inline void slp_restore_state() noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:412:41: error: 'noexcept' does not name a type
         inline void slp_restore_state() noexcept;
                                         ^
src/greenlet/greenlet_greenlet.hpp:413:55: error: expected ';' at end of member declaration
         inline int slp_save_state(char *const stackref) noexcept;
                                                       ^
src/greenlet/greenlet_greenlet.hpp:413:57: error: 'noexcept' does not name a type
         inline int slp_save_state(char *const stackref) noexcept;
                                                         ^
src/greenlet/greenlet_greenlet.hpp:451:45: error: expected ';' at end of member declaration
         virtual ThreadState* thread_state() const noexcept = 0;
                                             ^
src/greenlet/greenlet_greenlet.hpp:451:51: error: 'noexcept' does not name a type
         virtual ThreadState* thread_state() const noexcept = 0;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:455:51: error: expected ';' at end of member declaration
         virtual bool was_running_in_dead_thread() const noexcept = 0;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:455:57: error: 'noexcept' does not name a type
         virtual bool was_running_in_dead_thread() const noexcept = 0;
                                                         ^
src/greenlet/greenlet_greenlet.hpp:459:41: error: expected ';' at end of member declaration
         virtual BorrowedGreenlet self() const noexcept = 0;
                                         ^
src/greenlet/greenlet_greenlet.hpp:459:47: error: 'noexcept' does not name a type
         virtual BorrowedGreenlet self() const noexcept = 0;
                                               ^
src/greenlet/greenlet_greenlet.hpp:463:47: error: expected ';' at end of member declaration
         virtual bool force_slp_switch_error() const noexcept;
                                               ^
src/greenlet/greenlet_greenlet.hpp:463:53: error: 'noexcept' does not name a type
         virtual bool force_slp_switch_error() const noexcept;
                                                     ^
src/greenlet/greenlet_greenlet.hpp:529:53: error: expected ';' at end of member declaration
         virtual OwnedGreenlet g_switchstack_success() noexcept;
                                                     ^
src/greenlet/greenlet_greenlet.hpp:529:55: error: 'noexcept' does not name a type
         virtual OwnedGreenlet g_switchstack_success() noexcept;
                                                       ^
src/greenlet/greenlet_greenlet.hpp: In constructor 'greenlet::Greenlet::switchstack_result_t::switchstack_result_t()':
src/greenlet/greenlet_greenlet.hpp:485:44: error: 'nullptr' was not declared in this scope
                   the_new_current_greenlet(nullptr)
                                            ^
src/greenlet/greenlet_greenlet.hpp: In constructor 'greenlet::Greenlet::switchstack_result_t::switchstack_result_t(int)':
src/greenlet/greenlet_greenlet.hpp:490:44: error: 'nullptr' was not declared in this scope
                   the_new_current_greenlet(nullptr)
                                            ^
src/greenlet/greenlet_greenlet.hpp: In destructor 'greenlet::Greenlet::TracingGuard::~TracingGuard()':
src/greenlet/greenlet_greenlet.hpp:595:24: error: 'nullptr' was not declared in this scope
         this->tstate = nullptr;
                        ^
src/greenlet/greenlet_greenlet.hpp: At global scope:
src/greenlet/greenlet_greenlet.hpp:655:51: error: expected ';' at end of member declaration
         virtual bool was_running_in_dead_thread() const noexcept;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:655:57: error: 'noexcept' does not name a type
         virtual bool was_running_in_dead_thread() const noexcept;
                                                         ^
src/greenlet/greenlet_greenlet.hpp:656:45: error: expected ';' at end of member declaration
         virtual ThreadState* thread_state() const noexcept;
                                             ^
src/greenlet/greenlet_greenlet.hpp:656:51: error: 'noexcept' does not name a type
         virtual ThreadState* thread_state() const noexcept;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:672:41: error: expected ';' at end of member declaration
         virtual BorrowedGreenlet self() const noexcept;
                                         ^
src/greenlet/greenlet_greenlet.hpp:672:47: error: 'noexcept' does not name a type
         virtual BorrowedGreenlet self() const noexcept;
                                               ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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:682:13: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
             G_NO_COPIES_OF_CLS(ParentIsCurrentGuard);
             ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:682:13: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
             G_NO_COPIES_OF_CLS(ParentIsCurrentGuard);
             ^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:702:36: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
         bool _force_switch_error = false;
                                    ^
src/greenlet/greenlet_greenlet.hpp:703:40: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
         bool _force_slp_switch_error = false;
                                        ^
src/greenlet/greenlet_greenlet.hpp:714:47: error: expected ';' at end of member declaration
         virtual bool force_slp_switch_error() const noexcept;
                                               ^
src/greenlet/greenlet_greenlet.hpp:714:53: error: 'noexcept' does not name a type
         virtual bool force_slp_switch_error() const noexcept;
                                                     ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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:724:9: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
         G_NO_COPIES_OF_CLS(MainGreenlet);
         ^
src/greenlet/greenlet_compiler_compat.hpp:51: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:724: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:742:51: error: expected ';' at end of member declaration
         virtual bool was_running_in_dead_thread() const noexcept;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:742:57: error: 'noexcept' does not name a type
         virtual bool was_running_in_dead_thread() const noexcept;
                                                         ^
src/greenlet/greenlet_greenlet.hpp:743:45: error: expected ';' at end of member declaration
         virtual ThreadState* thread_state() const noexcept;
                                             ^
src/greenlet/greenlet_greenlet.hpp:743:51: error: 'noexcept' does not name a type
         virtual ThreadState* thread_state() const noexcept;
                                                   ^
src/greenlet/greenlet_greenlet.hpp:744:39: error: expected ';' at end of member declaration
         void thread_state(ThreadState*) noexcept;
                                       ^
src/greenlet/greenlet_greenlet.hpp:744:41: error: 'noexcept' does not name a type
         void thread_state(ThreadState*) noexcept;
                                         ^
src/greenlet/greenlet_greenlet.hpp:746:41: error: expected ';' at end of member declaration
         virtual BorrowedGreenlet self() const noexcept;
                                         ^
src/greenlet/greenlet_greenlet.hpp:746:47: error: 'noexcept' does not name a type
         virtual BorrowedGreenlet self() const noexcept;
                                               ^
src/greenlet/greenlet_greenlet.hpp:758:27: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
         int was_enabled = 0;
                           ^
src/greenlet/greenlet_greenlet.hpp:775:78: error: expected initializer before 'noexcept'
     OwnedObject& operator<<=(OwnedObject& lhs, greenlet::SwitchingArgs& rhs) noexcept;
                                                                              ^
In file included from src/greenlet/greenlet.cpp:19:0:
src/greenlet/greenlet_internal.hpp:71:86: error: expected initializer before 'noexcept'
 inline greenlet::Greenlet* greenlet::refs::_OwnedGreenlet<T, TC>::operator->() const noexcept
                                                                                      ^
src/greenlet/greenlet_internal.hpp:77:89: error: expected initializer before 'noexcept'
 inline greenlet::Greenlet* greenlet::refs::_BorrowedGreenlet<T, TC>::operator->() const noexcept
                                                                                         ^
In file included from src/greenlet/greenlet.cpp:24:0:
src/greenlet/greenlet_slp_switch.hpp:39:62: error: 'nullptr' was not declared in this scope
 static greenlet::Greenlet* volatile switching_thread_state = nullptr;
                                                              ^
In file included from src/greenlet/greenlet_thread_state.hpp:9:0,
                 from src/greenlet/greenlet.cpp:25:
src/greenlet/greenlet_thread_support.hpp:20:13: error: 'mutex' in namespace 'std' does not name a type
     typedef std::mutex Mutex;
             ^
src/greenlet/greenlet_thread_support.hpp:21:13: error: 'lock_guard' in namespace 'std' does not name a type
     typedef std::lock_guard<Mutex> LockGuard;
             ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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_thread_state.hpp:125:5: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
     G_NO_COPIES_OF_CLS(ThreadState);
     ^
src/greenlet/greenlet_compiler_compat.hpp:51: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_thread_state.hpp:125:5: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
     G_NO_COPIES_OF_CLS(ThreadState);
     ^
In file included from src/greenlet/greenlet.cpp:25:0:
src/greenlet/greenlet_thread_state.hpp: In member function 'void greenlet::ThreadState::clear_deleteme_list(bool)':
src/greenlet/greenlet_thread_state.hpp:285:43: error: 'nullptr' was not declared in this scope
                     PyErr_WriteUnraisable(nullptr);
                                           ^
src/greenlet/greenlet_thread_state.hpp: At global scope:
src/greenlet/greenlet_thread_state.hpp:463:48: error: 'nullptr' was not declared in this scope
 ImmortalString ThreadState::get_referrers_name(nullptr);
                                                ^
In file included from src/greenlet/greenlet_internal.hpp:17:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_compiler_compat.hpp:50: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_thread_state.hpp:474:5: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
     G_NO_COPIES_OF_CLS(ThreadStateCreator);
     ^
src/greenlet/greenlet_compiler_compat.hpp:51: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_thread_state.hpp:474:5: note: in expansion of macro 'G_NO_COPIES_OF_CLS'
     G_NO_COPIES_OF_CLS(ThreadStateCreator);
     ^
In file included from src/greenlet/greenlet.cpp:25:0:
src/greenlet/greenlet_thread_state.hpp: In destructor 'greenlet::ThreadStateCreator<Destructor>::~ThreadStateCreator()':
src/greenlet/greenlet_thread_state.hpp:486:24: error: 'nullptr' was not declared in this scope
         this->_state = nullptr;
                        ^
In file included from src/greenlet/greenlet.cpp:29:0:
src/greenlet/TGreenletGlobals.cpp: At global scope:
src/greenlet/TGreenletGlobals.cpp:43:5: error: 'Mutex' does not name a type
     Mutex* const thread_states_to_destroy_lock;
     ^
src/greenlet/TGreenletGlobals.cpp: In constructor 'greenlet::GreenletGlobals::GreenletGlobals()':
src/greenlet/TGreenletGlobals.cpp:54:9: error: class 'greenlet::GreenletGlobals' does not have any field named 'thread_states_to_destroy_lock'
         thread_states_to_destroy_lock(new Mutex())
         ^
src/greenlet/TGreenletGlobals.cpp:54:43: error: expected type-specifier before 'Mutex'
         thread_states_to_destroy_lock(new Mutex())
                                           ^
src/greenlet/TGreenletGlobals.cpp:54:50: error: call to 'greenlet::refs::ImmortalException::ImmortalException(const char*, PyObject*)' uses the default argument for parameter 2, which is not yet defined
         thread_states_to_destroy_lock(new Mutex())
                                                  ^
In file included from src/greenlet/greenlet.cpp:30:0:
src/greenlet/TThreadStateDestroy.cpp: In static member function 'static int greenlet::ThreadState_DestroyWithGIL::DestroyWithGIL(greenlet::ThreadState*)':
src/greenlet/TThreadStateDestroy.cpp:45:63: error: 'nullptr' was not declared in this scope
         static_cast<MainGreenlet*>(main->pimpl)->thread_state(nullptr);
                                                               ^
In file included from src/greenlet/TThreadStateDestroy.cpp:18:0,
                 from src/greenlet/greenlet.cpp:30:
src/greenlet/TThreadStateDestroy.cpp: At global scope:
src/greenlet/greenlet_cpython_add_pending.hpp:168:41: error: expected identifier before numeric constant
 # define GREENLET_BROKEN_PY_ADD_PENDING 0
                                         ^
src/greenlet/TThreadStateDestroy.cpp:57:19: note: in expansion of macro 'GREENLET_BROKEN_PY_ADD_PENDING'
     static_assert(GREENLET_BROKEN_PY_ADD_PENDING == 1 || GREENLET_BROKEN_PY_ADD_PENDING == 0,
                   ^
src/greenlet/greenlet_cpython_add_pending.hpp:168:41: error: expected ',' or '...' before numeric constant
 # define GREENLET_BROKEN_PY_ADD_PENDING 0
                                         ^
src/greenlet/TThreadStateDestroy.cpp:57:19: note: in expansion of macro 'GREENLET_BROKEN_PY_ADD_PENDING'
     static_assert(GREENLET_BROKEN_PY_ADD_PENDING == 1 || GREENLET_BROKEN_PY_ADD_PENDING == 0,
                   ^
In file included from src/greenlet/greenlet.cpp:30:0:
src/greenlet/TThreadStateDestroy.cpp:58:74: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive]
                   "GREENLET_BROKEN_PY_ADD_PENDING not defined correctly.");
                                                                          ^
src/greenlet/TThreadStateDestroy.cpp: In constructor 'greenlet::ThreadState_DestroyNoGIL::ThreadState_DestroyNoGIL(greenlet::ThreadState*)':
src/greenlet/TThreadStateDestroy.cpp:120:64: error: 'nullptr' was not declared in this scope
             static_cast<MainGreenlet*>(p->pimpl)->thread_state(nullptr);
                                                                ^
src/greenlet/TThreadStateDestroy.cpp:131:9: error: 'LockGuard' was not declared in this scope
         LockGuard cleanup_lock(*mod_globs->thread_states_to_destroy_lock);
         ^
src/greenlet/TThreadStateDestroy.cpp:131:19: error: expected ';' before 'cleanup_lock'
         LockGuard cleanup_lock(*mod_globs->thread_states_to_destroy_lock);
                   ^
src/greenlet/TThreadStateDestroy.cpp: In static member function 'static int greenlet::ThreadState_DestroyNoGIL::DestroyQueueWithGIL(void*)':
src/greenlet/TThreadStateDestroy.cpp:168:17: error: 'LockGuard' was not declared in this scope
                 LockGuard cleanup_lock(*mod_globs->thread_states_to_destroy_lock);
                 ^
src/greenlet/TThreadStateDestroy.cpp:168:27: error: expected ';' before 'cleanup_lock'
                 LockGuard cleanup_lock(*mod_globs->thread_states_to_destroy_lock);
                           ^
src/greenlet/TThreadStateDestroy.cpp: At global scope:
src/greenlet/TThreadStateDestroy.cpp:192:8: error: 'thread_local' does not name a type
 static thread_local ThreadStateCreator g_thread_state_global;
        ^
In file included from src/greenlet/greenlet.cpp:31:0:
src/greenlet/TGreenlet.cpp:43:42: error: expected initializer before 'noexcept'
 Greenlet::force_slp_switch_error() const noexcept
                                          ^
src/greenlet/TGreenlet.cpp:71:31: error: expected initializer before 'noexcept'
 Greenlet::slp_restore_state() noexcept
                               ^
src/greenlet/TGreenlet.cpp:82:48: error: expected initializer before 'noexcept'
 Greenlet::slp_save_state(char *const stackref) noexcept
                                                ^
src/greenlet/TGreenlet.cpp:129:35: error: expected initializer before 'noexcept'
 Greenlet::g_switchstack_success() noexcept
                                   ^
src/greenlet/TGreenlet.cpp: In member function 'virtual greenlet::Greenlet::switchstack_result_t greenlet::Greenlet::g_switchstack()':
src/greenlet/TGreenlet.cpp:203:30: error: 'nullptr' was not declared in this scope
     switching_thread_state = nullptr;
                              ^
In file included from src/greenlet/greenlet.cpp:30:0:
src/greenlet/TGreenlet.cpp: In member function 'void greenlet::Greenlet::check_switch_allowed() const':
src/greenlet/TThreadStateDestroy.cpp:193:28: error: 'g_thread_state_global' was not declared in this scope
 #define GET_THREAD_STATE() g_thread_state_global
                            ^
src/greenlet/TGreenlet.cpp:257:56: note: in expansion of macro 'GET_THREAD_STATE'
     const BorrowedMainGreenlet current_main_greenlet = GET_THREAD_STATE().state().borrow_main_greenlet();
                                                        ^
In file included from src/greenlet/greenlet.cpp:31:0:
src/greenlet/TGreenlet.cpp:260:31: error: ambiguous overload for 'operator!=' (operand types are 'const greenlet::refs::BorrowedMainGreenlet' and 'const greenlet::refs::BorrowedMainGreenlet')
         current_main_greenlet != main_greenlet
                               ^
src/greenlet/TGreenlet.cpp:260:31: note: candidates are:
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:260:31: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: error: ambiguous overload for 'operator!=' (operand types are 'const greenlet::refs::BorrowedMainGreenlet' and 'const greenlet::refs::BorrowedMainGreenlet')
             && current_main_greenlet != main_greenlet)
                                      ^
src/greenlet/TGreenlet.cpp:266:38: note: candidates are:
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(_greenlet*, _greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(PyObject* {aka _object*}, PyObject* {aka _object*}) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
src/greenlet/TGreenlet.cpp:266:38: note: operator!=(greenlet::Greenlet*, greenlet::Greenlet*) <built-in>
In file included from src/greenlet/greenlet.cpp:30:0:
src/greenlet/TGreenlet.cpp: In member function 'const OwnedObject greenlet::Greenlet::context() const':
src/greenlet/TThreadStateDestroy.cpp:193:28: error: 'g_thread_state_global' was not declared in this scope
 #define GET_THREAD_STATE() g_thread_state_global
                            ^
src/greenlet/TGreenlet.cpp:287:13: note: in expansion of macro 'GET_THREAD_STATE'
         if (GET_THREAD_STATE().state().is_current(this->self())) {
             ^
In file included from src/greenlet/greenlet.cpp:31:0:
src/greenlet/TGreenlet.cpp: In member function 'void greenlet::Greenlet::context(greenlet::refs::BorrowedObject)':
src/greenlet/TGreenlet.cpp:316:17: error: 'nullptr' was not declared in this scope
         given = nullptr;
                 ^
In file included from src/greenlet/greenlet.cpp:30:0:
src/greenlet/TThreadStateDestroy.cpp:193:28: error: 'g_thread_state_global' was not declared in this scope
 #define GET_THREAD_STATE() g_thread_state_global
                            ^
src/greenlet/TGreenlet.cpp:324:14: note: in expansion of macro 'GET_THREAD_STATE'
         if (!GET_THREAD_STATE().state().is_current(this->self())) {
              ^
In file included from src/greenlet/greenlet.cpp:31:0:
src/greenlet/TGreenlet.cpp: At global scope:
src/greenlet/TGreenlet.cpp:356:74: error: expected initializer before 'noexcept'
 OwnedObject& operator<<=(OwnedObject& lhs, greenlet::SwitchingArgs& rhs) noexcept
                                                                          ^
src/greenlet/greenlet.cpp:98:32: error: expected '}' before end of line
 #    pragma GCC diagnostic push
                                ^
src/greenlet/greenlet.cpp:98:32: error: expected declaration before end of line
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:180: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 noexcept
                   ^
src/greenlet/greenlet_refs.hpp:180: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]
In file included from src/greenlet/greenlet_internal.hpp:20:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:150:21: warning: inline function 'void greenlet::PythonState::may_switch_away()' used but never defined [enabled by default]
         inline void may_switch_away() noexcept;
                     ^
src/greenlet/greenlet_greenlet.hpp:188:21: warning: inline function 'bool greenlet::StackState::started() const' used but never defined [enabled by default]
         inline bool started() const noexcept;
                     ^
src/greenlet/greenlet_greenlet.hpp:190:21: warning: inline function 'bool greenlet::StackState::active() const' used but never defined [enabled by default]
         inline bool active() const noexcept;
                     ^
src/greenlet/greenlet_greenlet.hpp:189:21: warning: inline function 'bool greenlet::StackState::main() const' used but never defined [enabled by default]
         inline bool main() const 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:180: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 noexcept
                   ^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:365:28: warning: inline function 'const char* greenlet::Greenlet::stack_start() const' used but never defined [enabled by default]
         inline const char* stack_start() const 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:511:16: warning: inline function 'greenlet::refs::_OwnedGreenlet<T, TC>::operator greenlet::Greenlet*() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::GreenletChecker]' used but never defined [enabled by default]
         inline operator Greenlet*() const noexcept;
                ^
src/greenlet/greenlet_refs.hpp:511:16: warning: inline function 'greenlet::refs::_OwnedGreenlet<T, TC>::operator greenlet::Greenlet*() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::MainGreenletExactChecker]' used but never defined [enabled by default]
src/greenlet/greenlet_refs.hpp:212:27: warning: inline function 'Py_ssize_t greenlet::refs::PyObjectPointer<T, <anonymous> >::REFCNT() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::MainGreenletExactChecker; Py_ssize_t = long int]' used but never defined [enabled by default]
         inline Py_ssize_t REFCNT() const noexcept
                           ^
src/greenlet/greenlet_refs.hpp:510:26: warning: inline function 'greenlet::Greenlet* greenlet::refs::_OwnedGreenlet<T, TC>::operator->() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::GreenletChecker]' used but never defined [enabled by default]
         inline Greenlet* operator->() const noexcept;
                          ^
src/greenlet/greenlet_refs.hpp:566:26: warning: inline function 'greenlet::Greenlet* greenlet::refs::_BorrowedGreenlet<T, TC>::operator->() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::GreenletChecker]' used but never defined [enabled by default]
         inline Greenlet* operator->() const noexcept;
                          ^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:139:21: warning: inline function 'void greenlet::PythonState::operator<<(const PyThreadState*)' used but never defined [enabled by default]
         inline void operator<<(const PyThreadState *const tstate) noexcept;
                     ^
src/greenlet/greenlet_greenlet.hpp:151:21: warning: inline function 'void greenlet::PythonState::will_switch_from(PyThreadState*)' used but never defined [enabled by default]
         inline void will_switch_from(PyThreadState *const origin_tstate) 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:566:26: warning: inline function 'greenlet::Greenlet* greenlet::refs::_BorrowedGreenlet<T, TC>::operator->() const [with T = _greenlet; void (* TC)(void*) = greenlet::refs::MainGreenletExactChecker]' used but never defined [enabled by default]
         inline Greenlet* operator->() const noexcept;
                          ^
In file included from src/greenlet/greenlet_internal.hpp:20:0,
                 from src/greenlet/greenlet.cpp:19:
src/greenlet/greenlet_greenlet.hpp:415:21: warning: inline function 'bool greenlet::Greenlet::is_currently_running_in_some_thread() const' used but never defined [enabled by default]
         inline bool is_currently_running_in_some_thread() const;
                     ^
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:180:19: warning: inline function 'T* greenlet::refs::PyObjectPointer<T, <anonymous> >::borrow() const [with T = _object; void (* TC)(void*) = greenlet::refs::ContextExactChecker]' used but never defined [enabled by default]
         inline T* borrow() const noexcept
                   ^
error: command '/home/pbulk/build/devel/py-greenlet/work/.cwrapper/bin/cc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/py-greenlet
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/py-greenlet