New submission from Serhiy Storchaka: Seems FreeBSD is the only platforms with unsigned FD_SETSIZE. On NetBSD, Linux, and OpenBSD it is defined as just int. [1]
This causes compiler warnings on FreeBSD. [2] Modules/selectmodule.c:72: warning: comparison between signed and unsigned Modules/selectmodule.c:112: warning: comparison between signed and unsigned Modules/selectmodule.c:123: warning: comparison between signed and unsigned Modules/ossaudiodev.c:476: warning: comparison between signed and unsigned Proposed patch silences warnings. [1] https://lists.freebsd.org/pipermail/freebsd-standards/2012-July/002410.html [2] http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/5310/steps/compile/logs/warnings%20%2817%29 ---------- components: FreeBSD files: FD_SETSIZE.patch keywords: patch messages: 280581 nosy: koobs, serhiy.storchaka, skrah priority: normal severity: normal stage: patch review status: open title: FD_SETSIZE is unsigned on FreeBSD type: compile error versions: Python 3.6, Python 3.7 Added file: http://bugs.python.org/file45445/FD_SETSIZE.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28667> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com