From xemacs-m  Fri Mar 14 11:49:54 1997
Received: from jsk.t.u-tokyo.ac.jp (monoceros.jsk.t.u-tokyo.ac.jp [133.11.96.252])
	by xemacs.org (8.8.5/8.8.5) with SMTP id LAA11176
	for <xemacs-beta@xemacs.org>; Fri, 14 Mar 1997 11:49:53 -0600 (CST)
Received: from jsk (localhost [127.0.0.1]) by jsk.t.u-tokyo.ac.jp (8.6.12/3.4Wbeta6-96040821) with ESMTP id CAA11489 for <xemacs-beta@xemacs.org>; Sat, 15 Mar 1997 02:49:58 +0900
Message-Id: <199703141749.CAA11489@jsk.t.u-tokyo.ac.jp>
To: xemacs-beta@xemacs.org
Subject: [XEmacs 20.1 b6] Compile failure OSF1 V3.2 alpha
Date: Sat, 15 Mar 1997 02:49:58 +0900
From: Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp>


XEmacs-20.1-b6 failed to compile on a DEC Alpha.
Failure on line 943 of src/console.c using gcc-2.7.2.

Error message is:

gcc -c -Demacs -DHAVE_CONFIG_H  -I.        -I/usr/share/src/XCLIENTS/xemacs/xemacs-20.1-b6/src -I/usr/share/src/XCLIENTS/xemacs/xemacs-20.1-b6/src/.      -D_BSD     -I/usr/local/include/gr -I/usr/include/wnn                -I/usr/share/src/XCLIENTS/xemacs/xemacs-20.1-b6/src/../lwlib    -ggdb3 -O -mfp-regs console.c
[2]  + 18645 exit 2     gmake all-elc >& makeallelc2.log
console.c: In function `Fsuspend_console':
console.c:943: incompatible type for argument 1 of `XINT'
gmake[1]: *** [console.o] Error 1
gmake[1]: Leaving directory `/usr/share/src/XCLIENTS/xemacs/xemacs-20.1-b6/src'
gmake: *** [dump-elcs] Error 2


A look at the source shows that Fconsole_tty_controlling_process
returns a Lisp_Object and XINT expects one and returns the int.

I've been round and round console-tty.h console-tty.c but couldn't
quite figure out whether the Lisp_Object returned is something that
XINT could handle.

Anyone with suggestions. I hope this isn't old news, I haven't been
following the posts in the mailing list that closely these few days.

Hajime Saito



