Chi Hsuan Yen added the comment: (Re-use the existing issue)
Here's a patch that tries to add -Werror=implicit-function-declaration to $BASECFLAGS. This is useful for cross-compiling. When a function is missing, the error jumps out during the build time rather than runtime. Tested configurations: * Arch Linux x86_64 native build * macOS Sierra native build * Android ARM, API 21 cross build I'd like to hear some ideas from macOS experts as in my memory macOS's build system is fragile than that on Linux. ---------- components: +Build nosy: +ned.deily, ronaldoussoren title: Check for the existence of crypt() -> Prohibit implicit C function declarations type: compile error -> enhancement Added file: http://bugs.python.org/file46033/prohibit-implicit-function-declarations.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27659> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com