summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2021-10-28 11:37:52 -0500
committerJason Madden <jamadden@gmail.com>2021-10-28 11:37:52 -0500
commitb678840bb3e466e0c3b9c9fb303b2eee8ce8ce49 (patch)
tree0631039e0b328024da0d92fdc86b7adb1e1bedae /setup.py
parent5e42256889b205cc2447ef805afe5f2a18d7e74f (diff)
downloadgreenlet-b678840bb3e466e0c3b9c9fb303b2eee8ce8ce49.tar.gz
The SAFESEH stuff looks like a red herring.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index 37312bb..c96dd09 100755
--- a/setup.py
+++ b/setup.py
@@ -53,17 +53,6 @@ elif sys.platform == 'win32':
# with it.
# See https://docs.microsoft.com/en-us/cpp/build/reference/eh-exception-handling-model?view=msvc-160
handler = "/EHsc"
- if '64 bit' not in sys.version:
- # Our 32-bit switch_x64_msvc.h file
- # reads and writes to fs:[0] and [seh]; the writes to fs:[0]
- # generate "warning C4733:
- # Inline asm assigning to 'FS:0': handler not registered as safe handler"
- # We might need to pass /SAFESEH:NO to the linker somehow, or register
- # the slp_switch function with the .SAFESEH assembler directive. Here,
- # we're trying to require building the table of SEH handlers.
- # https://docs.microsoft.com/en-us/cpp/build/reference/safeseh-image-has-safe-exception-handlers?view=msvc-160
- cpp_link_args.append('/SAFESEH')
-
cpp_compile_args.append(handler)
def readfile(filename):