Antti Haapala <an...@haapala.name> added the comment: I don't have GCC 8 so I cannot verify this bug, but *function pointer casts* are fine - any function pointer can be cast to any other function pointer - it is only that they must *not* be called unless cast back again to be compatible with the function definition. Any fix to the contrary might well *cause* undefined behaviour!
Could you provide a sample of the *actual warnings* so that they could be studied? ---------- nosy: +ztane _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com