From: pinard@icule.UUCP (Francois Pinard)
Subject: Oleo 1.2 - first compilation attempt
Reply-To: pinard@iro.umontreal.ca
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 2 Jan 1993 02:18:42 GMT

Hi, people.  This is for Oleo 1.2, using GNU C 1.41 under COFF
encapsulation, on this 386/ix 2.0.2 system.  CC is predefined to be
`gcc -ansi -Di386' in all installations, thus in this one.

	sh configure
	make -k

yields a looong list of compiler diagnostics.  I reported such a long
list already against Oleo 1.1.  At first glance, the list did not
change much.  There was a general turnaround available for Oleo 1.1 by
forcing:

	CC='gcc -traditional' sh configure

Unless the following list of problems is solved, this turnaround
should be higly suggested in one of the README or INSTALL.OLEO files.
But ideally, the turnaround should not be needed and, rather, all the
problems listed here should be solved.

---------------------------------------------------------------------->
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. ref.c
ref.c: In function new_value:
ref.c:173: argument `row' doesn't match function prototype
ref.c:173: a formal parameter type that promotes to `int'
ref.c:173: can match only `int' in the prototype
ref.c:173: argument `col' doesn't match function prototype
ref.c:173: a formal parameter type that promotes to `int'
ref.c:173: can match only `int' in the prototype
ref.c: In function set_new_value:
ref.c:204: argument `row' doesn't match function prototype
ref.c:204: a formal parameter type that promotes to `int'
ref.c:204: can match only `int' in the prototype
ref.c:204: argument `col' doesn't match function prototype
ref.c:204: a formal parameter type that promotes to `int'
ref.c:204: can match only `int' in the prototype
ref.c: In function read_new_value:
ref.c:282: argument `row' doesn't match function prototype
ref.c:282: a formal parameter type that promotes to `int'
ref.c:282: can match only `int' in the prototype
ref.c:282: argument `col' doesn't match function prototype
ref.c:282: a formal parameter type that promotes to `int'
ref.c:282: can match only `int' in the prototype
ref.c: In function move_cell:
ref.c:407: argument `rf' doesn't match function prototype
ref.c:407: a formal parameter type that promotes to `int'
ref.c:407: can match only `int' in the prototype
ref.c:407: argument `cf' doesn't match function prototype
ref.c:407: a formal parameter type that promotes to `int'
ref.c:407: can match only `int' in the prototype
ref.c:407: argument `rt' doesn't match function prototype
ref.c:407: a formal parameter type that promotes to `int'
ref.c:407: can match only `int' in the prototype
ref.c:407: argument `ct' doesn't match function prototype
ref.c:407: a formal parameter type that promotes to `int'
ref.c:407: can match only `int' in the prototype
ref.c: In function copy_cell:
ref.c:506: argument `rf' doesn't match function prototype
ref.c:506: a formal parameter type that promotes to `int'
ref.c:506: can match only `int' in the prototype
ref.c:506: argument `cf' doesn't match function prototype
ref.c:506: a formal parameter type that promotes to `int'
ref.c:506: can match only `int' in the prototype
ref.c:506: argument `rt' doesn't match function prototype
ref.c:506: a formal parameter type that promotes to `int'
ref.c:506: can match only `int' in the prototype
ref.c:506: argument `ct' doesn't match function prototype
ref.c:506: a formal parameter type that promotes to `int'
ref.c:506: can match only `int' in the prototype
ref.c: In function add_ref:
ref.c:859: argument `row' doesn't match function prototype
ref.c:859: a formal parameter type that promotes to `int'
ref.c:859: can match only `int' in the prototype
ref.c:859: argument `col' doesn't match function prototype
ref.c:859: a formal parameter type that promotes to `int'
ref.c:859: can match only `int' in the prototype
ref.c: In function flush_range_ref:
ref.c:926: argument `rr' doesn't match function prototype
ref.c:926: a formal parameter type that promotes to `int'
ref.c:926: can match only `int' in the prototype
ref.c:926: argument `cc' doesn't match function prototype
ref.c:926: a formal parameter type that promotes to `int'
ref.c:926: can match only `int' in the prototype
ref.c: In function add_ref_fm:
ref.c:1137: argument `r' doesn't match function prototype
ref.c:1137: a formal parameter type that promotes to `int'
ref.c:1137: can match only `int' in the prototype
ref.c:1137: argument `c' doesn't match function prototype
ref.c:1137: a formal parameter type that promotes to `int'
ref.c:1137: can match only `int' in the prototype
ref.c: In function flush_ref_fm:
ref.c:1189: argument `r' doesn't match function prototype
ref.c:1189: a formal parameter type that promotes to `int'
ref.c:1189: can match only `int' in the prototype
ref.c:1189: argument `c' doesn't match function prototype
ref.c:1189: a formal parameter type that promotes to `int'
ref.c:1189: can match only `int' in the prototype
ref.c: In function push_cell:
ref.c:2483: argument `row' doesn't match function prototype
ref.c:2483: a formal parameter type that promotes to `int'
ref.c:2483: can match only `int' in the prototype
ref.c:2483: argument `col' doesn't match function prototype
ref.c:2483: a formal parameter type that promotes to `int'
ref.c:2483: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. decompile.c
decompile.c: In function decomp:
decompile.c:573: argument `r' doesn't match function prototype
decompile.c:573: a formal parameter type that promotes to `int'
decompile.c:573: can match only `int' in the prototype
decompile.c:573: argument `c' doesn't match function prototype
decompile.c:573: a formal parameter type that promotes to `int'
decompile.c:573: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. regions.c
regions.c: In function set_rng:
regions.c:50: argument `r1' doesn't match function prototype
regions.c:50: a formal parameter type that promotes to `int'
regions.c:50: can match only `int' in the prototype
regions.c:50: argument `c1' doesn't match function prototype
regions.c:50: a formal parameter type that promotes to `int'
regions.c:50: can match only `int' in the prototype
regions.c:50: argument `r2' doesn't match function prototype
regions.c:50: a formal parameter type that promotes to `int'
regions.c:50: can match only `int' in the prototype
regions.c:50: argument `c2' doesn't match function prototype
regions.c:50: a formal parameter type that promotes to `int'
regions.c:50: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. lists.c
lists.c: In function find_cell:
lists.c:477: argument `row' doesn't match function prototype
lists.c:477: a formal parameter type that promotes to `int'
lists.c:477: can match only `int' in the prototype
lists.c:477: argument `col' doesn't match function prototype
lists.c:477: a formal parameter type that promotes to `int'
lists.c:477: can match only `int' in the prototype
lists.c: In function find_or_make_cell:
lists.c:488: argument `row' doesn't match function prototype
lists.c:488: a formal parameter type that promotes to `int'
lists.c:488: can match only `int' in the prototype
lists.c:488: argument `col' doesn't match function prototype
lists.c:488: a formal parameter type that promotes to `int'
lists.c:488: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. io-term.c
io-term.c:25: sys/wait.h: No such file or directory
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. io-utils.c
io-utils.c: In function cell_value_string:
io-utils.c:371: argument `row' doesn't match function prototype
io-utils.c:371: a formal parameter type that promotes to `int'
io-utils.c:371: can match only `int' in the prototype
io-utils.c:371: argument `col' doesn't match function prototype
io-utils.c:371: a formal parameter type that promotes to `int'
io-utils.c:371: can match only `int' in the prototype
io-utils.c: In function cell_name:
io-utils.c:914: argument `rr' doesn't match function prototype
io-utils.c:914: a formal parameter type that promotes to `int'
io-utils.c:914: can match only `int' in the prototype
io-utils.c:914: argument `cc' doesn't match function prototype
io-utils.c:914: a formal parameter type that promotes to `int'
io-utils.c:914: can match only `int' in the prototype
io-utils.c: In function col_to_str:
io-utils.c:1006: argument `col' doesn't match function prototype
io-utils.c:1006: a formal parameter type that promotes to `int'
io-utils.c:1006: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. window.c
window.c: In function win_label_cols:
window.c:288: argument `hr' doesn't match function prototype
window.c:288: a formal parameter type that promotes to `int'
window.c:288: can match only `int' in the prototype
window.c: In function io_pr_cell:
window.c:777: argument `r' doesn't match function prototype
window.c:777: a formal parameter type that promotes to `int'
window.c:777: can match only `int' in the prototype
window.c:777: argument `c' doesn't match function prototype
window.c:777: a formal parameter type that promotes to `int'
window.c:777: can match only `int' in the prototype
window.c: In function io_move_cell_cursor:
window.c:871: argument `rr' doesn't match function prototype
window.c:871: a formal parameter type that promotes to `int'
window.c:871: can match only `int' in the prototype
window.c:871: argument `cc' doesn't match function prototype
window.c:871: a formal parameter type that promotes to `int'
window.c:871: can match only `int' in the prototype
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. io-curses.c
io-curses.c:29: warning: SYSV redefined
/usr/include/sgtty.h:25: warning: HUPCL redefined
/usr/include/sgtty.h:28: warning: ECHO redefined
/usr/include/sgtty.h:45: warning: CR1 redefined
/usr/include/sgtty.h:46: warning: CR2 redefined
/usr/include/sgtty.h:47: warning: CR3 redefined
/usr/include/sgtty.h:49: warning: NL1 redefined
/usr/include/sgtty.h:53: warning: TAB1 redefined
/usr/include/sgtty.h:56: warning: FF1 redefined
/usr/include/sgtty.h:58: warning: BS1 redefined
/usr/include/sgtty.h:64: warning: B50 redefined
/usr/include/sgtty.h:65: warning: B75 redefined
/usr/include/sgtty.h:66: warning: B110 redefined
/usr/include/sgtty.h:67: warning: B134 redefined
/usr/include/sgtty.h:68: warning: B150 redefined
/usr/include/sgtty.h:69: warning: B200 redefined
/usr/include/sgtty.h:70: warning: B300 redefined
/usr/include/sgtty.h:71: warning: B600 redefined
/usr/include/sgtty.h:72: warning: B1200 redefined
/usr/include/sgtty.h:73: warning: B1800 redefined
/usr/include/sgtty.h:74: warning: B2400 redefined
/usr/include/sgtty.h:75: warning: B4800 redefined
/usr/include/sgtty.h:76: warning: B9600 redefined
/usr/include/sgtty.h:77: warning: EXTA redefined
/usr/include/sgtty.h:78: warning: EXTB redefined
/usr/include/sgtty.h:85: warning: TIOCHPCL redefined
/usr/include/sgtty.h:88: warning: TIOCEXCL redefined
/usr/include/sgtty.h:89: warning: TIOCNXCL redefined
io-curses.c: In function move_cursor_to:
io-curses.c:1053: argument `r' doesn't match function prototype
io-curses.c:1053: a formal parameter type that promotes to `int'
io-curses.c:1053: can match only `int' in the prototype
io-curses.c:1053: argument `c' doesn't match function prototype
io-curses.c:1053: a formal parameter type that promotes to `int'
io-curses.c:1053: can match only `int' in the prototype
io-curses.c: In function tty_graphics:
io-curses.c:1525: warning: assignment between incompatible pointer types
[...]
gcc -ansi -Di386 -c -g  -DSYSV=1 -DRETSIGTYPE=void -DSTDC_HEADERS=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1  -I. display.c
display.c: In function cell_display_of:
display.c:29: argument `r' doesn't match function prototype
display.c:29: a formal parameter type that promotes to `int'
display.c:29: can match only `int' in the prototype
display.c:29: argument `c' doesn't match function prototype
display.c:29: a formal parameter type that promotes to `int'
display.c:29: can match only `int' in the prototype
display.c: In function pr_display_cell:
display.c:78: argument `r' doesn't match function prototype
display.c:78: a formal parameter type that promotes to `int'
display.c:78: can match only `int' in the prototype
display.c:78: argument `c' doesn't match function prototype
display.c:78: a formal parameter type that promotes to `int'
display.c:78: can match only `int' in the prototype
[...]
----------------------------------------------------------------------<

-- 
Franc,ois Pinard       ``Happy GNU Year!''      pinard@iro.umontreal.ca
(514) 588-4656                                   ...!uunet!iros1!pinard
About the League for Programming Freedom?  Email me or lpf@uunet.uu.net

Newsgroups: gnu.utils.bug