New submission from micwin <micw...@web.de>:
Python 3.9.0rc2 OS: centos 6.10 Compiler: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23) configure && make Python-3.9.0rc2/Modules/_zoneinfo.c:1227: error: #pragma GCC diagnostic not allowed inside functions Python-3.9.0rc2/Modules/_zoneinfo.c:1228: error: #pragma GCC diagnostic not allowed inside functions Python-3.9.0rc2/Modules/_zoneinfo.c:1229: warning: comparison is always false due to limited range of data type Python-3.9.0rc2/Modules/_zoneinfo.c:1230: error: #pragma GCC diagnostic not allowed inside functions Proposed fix, here the diff: 1227d1226 < #if defined(__GNUC__) && __GNUC__ >= 5 1230d1228 < #endif 1232d1229 < #if defined(__GNUC__) && __GNUC__ >= 5 1234d1230 < #endif ---------- components: Build messages: 377520 nosy: micwin priority: normal severity: normal status: open title: Compiler error in _zoneinfo.c:1227: error: #pragma GCC diagnostic not allowed inside functions type: compile error versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com