This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients amaury.forgeotdarc, belopolsky, brett.cannon, dgreiman, eric.snow, ext-, gustavo, ncoghlan, ned.deily, pitrou, python-dev, serhiy.storchaka, tim.peters
Date 2013-10-19.18:23:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382206994.57.0.466775824099.issue1772673@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-10-19 18:23:14ned.deilysetrecipients: + ned.deily, tim.peters, brett.cannon, amaury.forgeotdarc, ncoghlan, belopolsky, gustavo, pitrou, dgreiman, ext-, python-dev, eric.snow, serhiy.storchaka
2013-10-19 18:23:14ned.deilysetmessageid: <1382206994.57.0.466775824099.issue1772673@psf.upfronthosting.co.za>
2013-10-19 18:23:14ned.deilylinkissue1772673 messages
2013-10-19 18:23:14ned.deilycreate