New submission from Dong-hee Na <donghee.n...@gmail.com>: I've got the warining like this.
Modules/gcmodule.c:1925:1: warning: ‘visit_validate’ defined but not used [-Wunused-function] visit_validate(PyObject *op, void *parent_raw) This looks like only used in pydebug. I'd like to propose declaring this function only in #ifdef Py_DEBUG. My environment is CentOS Linux release 7.6.1810 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) ---------- assignee: corona10 components: Interpreter Core messages: 354313 nosy: corona10, serhiy.storchaka, vstinner priority: normal severity: normal status: open title: declare visit_validate in Py_DEBUG macro type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38426> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com