Message200469
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 |
|
Date |
User |
Action |
Args |
2013-10-19 18:23:14 | ned.deily | set | recipients:
+ 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:14 | ned.deily | set | messageid: <1382206994.57.0.466775824099.issue1772673@psf.upfronthosting.co.za> |
2013-10-19 18:23:14 | ned.deily | link | issue1772673 messages |
2013-10-19 18:23:14 | ned.deily | create | |
|