[issue37930] make fails when compiling Python 2.6 from source (posixmodule.c)
Gilles Bardoux
report at bugs.python.org
Mon Oct 21 15:12:30 EDT 2019
Gilles Bardoux <gilles.bardoux at gmail.com> added the comment:
Hi Oguz,
You just need to change one line in Include/objimpl.h: replace "long double dummy" by "double dummy". Enjoy!
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -248,7 +248,7 @@ typedef union _gc_head {
union _gc_head *gc_prev;
Py_ssize_t gc_refs;
} gc;
- long double dummy; /* force worst-case alignment */
+ double dummy; /* force worst-case alignment */
} PyGC_Head;
extern PyGC_Head *_PyGC_generation0;
----------
nosy: +gilles.bardoux
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37930>
_______________________________________
More information about the Python-bugs-list
mailing list