Subject: | Curses.c doesn't compile in Mac OS X 10.4 |
This error is on Mac OS X 10.4.3:
% make
...
cc -c -mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -O3 -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" "-I/usr/local/lib/perl5/5.8.4/darwin-2level/CORE" Curses.c
In file included from /usr/local/lib/perl5/5.8.4/darwin-2level/CORE/perl.h:475,
from Curses.c:14:
/usr/local/lib/perl5/5.8.4/darwin-2level/CORE/embed.h:379:1: warning: "instr" redefined
In file included from c-config.h:9,
from Curses.c:11:
/usr/include/curses.h:917:1: warning: this is the location of the previous definition
In file included from Curses.c:344:
CursesFun.c: In function 'XS_Curses_newterm':
CursesFun.c:1279: warning: initialization from incompatible pointer type
CursesFun.c:1280: warning: initialization from incompatible pointer type
CursesFun.c: In function 'XS_Curses_longname':
CursesFun.c:3146: error: too many arguments to function 'longname'
In file included from Curses.c:344:
CursesFun.c:3254:58: error: macro "touchline" passed 4 arguments, but takes just 3
CursesFun.c: In function 'XS_Curses_touchline':
CursesFun.c:3254: warning: pointer/integer type mismatch in conditional expression
CursesFun.c:3254: warning: initialization makes integer from pointer without a cast
CursesFun.c: In function 'XS_Curses_putwin':
CursesFun.c:3453: warning: initialization from incompatible pointer type
CursesFun.c: In function 'XS_Curses_getwin':
CursesFun.c:3472: warning: initialization from incompatible pointer type
make: *** [Curses.o] Error 1