Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

4.1.1 doesn't compile



Hi,

Minor problem compiling latest zsh.  64bit compilation fails but 32bit
still works.

Compiler is Sun ONE Studio 8, Compiler Collection
	    cc: Sun C 5.5 Patch 112760-01 2003/05/18 

***64bit***
cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -xO4 -xarch=v9 -KPIC -o terminfo..o terminfo.c
"terminfo.c", line 110: warning: argument #3 is incompatible with prototype:
        prototype: pointer to function(char) returning int : "/usr/include/term.h", line 1205
        argument : pointer to function(int) returning int
"terminfo.c", line 113: prototype mismatch: 2 args passed, 10 expected
"terminfo.c", line 113: warning: argument #3 is incompatible with prototype:
        prototype: pointer to function(char) returning int : "/usr/include/term.h", line 1205
        argument : pointer to function(int) returning int
cc: acomp failed for terminfo.c
*** Error code 2
make: Fatal error: Command failed for target `terminfo..o'

***32bit***
cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DMODULE -xO4 -KPIC -o terminfo..o terminfo.c
"terminfo.c", line 110: warning: argument #3 is incompatible with prototype:
        prototype: pointer to function(char) returning int : "/usr/include/term.h", line 1205
        argument : pointer to function(int) returning int
"terminfo.c", line 113: warning: argument #3 is incompatible with prototype:
        prototype: pointer to function(char) returning int : "/usr/include/term.h", line 1205
        argument : pointer to function(int) returning int

-- 
SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland
Tomi Vainio (System Support Engineer)     +358 9 52556300 hotline
email: Tomi.Vainio@xxxxxxx                +358 9 52556252 fax



Messages sorted by: Reverse Date, Date, Thread, Author