Ned Deily added the comment: Compile errors on OS X 10.8 with clang:
cc -Wno-unused-result -Werror=declaration-after-statement -g -O0 -Wall -Wstrict-prototypes -I. -IInclude -I../../source/Include -DPy_BUILD_CORE -c ../../source/Modules/posixmodule.c -o Modules/posixmodule.o In file included from ../../source/Modules/posixmodule.c:5959: /usr/include/util.h:94:5: error: conflicting types for 'openpty' int openpty(int *, int *, char *, struct termios *, ^ ../../source/Include/pyport.h:676:12: note: previous declaration is here extern int openpty(int *, int *, char *, ^ In file included from ../../source/Modules/posixmodule.c:5959: /usr/include/util.h:97:7: error: conflicting types for 'forkpty' pid_t forkpty(int *, char *, struct termios *, struct winsize *); ^ ../../source/Include/pyport.h:678:14: note: previous declaration is here extern pid_t forkpty(int *, char *, ^ 2 errors generated. make: *** [Modules/posixmodule.o] Error 1 ---------- nosy: +ned.deily _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1772673> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com