[New-bugs-announce] [issue40777] _datetimemodule.c:3328:16: error: initializer element is not constant
Sandro Mani
report at bugs.python.org
Tue May 26 05:55:41 EDT 2020
New submission from Sandro Mani <manisandro at gmail.com>:
Hitting this when attempting to cross-compile python-3.9 to mingw:
/builddir/build/BUILD/Python-3.9.0b1/Modules/_datetimemodule.c:3328:16: error: initializer element is not constant
3328 | .tp_base = &PyTuple_Type,
Indeed PyTuple_Type does not have static storage, so I suppose this [1] applies.
[1] https://stackoverflow.com/a/3025106/1338788
----------
components: Build
messages: 369965
nosy: smani
priority: normal
severity: normal
status: open
title: _datetimemodule.c:3328:16: error: initializer element is not constant
type: compile error
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40777>
_______________________________________
More information about the New-bugs-announce
mailing list