summaryrefslogtreecommitdiffhomepage
path: root/test/python/errors_write
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-10-23 14:04:29 +0300
committerMax Romanov <max.romanov@nginx.com>2019-10-23 14:04:29 +0300
commitad518ae6c491308351eaa0d4065c09870d56f9ae (patch)
treeb3d7586df83dc2a789361a0147f9b96eed2a0159 /test/python/errors_write
parent23b94fde832dcccb801be9acde1471c3fca3a4e9 (diff)
downloadunit-ad518ae6c491308351eaa0d4065c09870d56f9ae.tar.gz
unit-ad518ae6c491308351eaa0d4065c09870d56f9ae.tar.bz2
Python: fixing Python 3.8 build with clang.
Python 3.8 has 'tp_print' field in PyTypeObject struct. This field is attributed as deprecated. So, clang generates warning (which is turned to error) as a result of initializing this field. From the other hand, it is impossible to omit this field in positional initialization. The solution is to use designated initializer. Silencing usage message during configure python. This is related to #331 issue on GitHub.
Diffstat (limited to 'test/python/errors_write')
0 files changed, 0 insertions, 0 deletions