>>>> "Steve" == Steve Youngs
<youngs(a)xemacs.org> writes:
Steve> I'm getting this when trying to compile 21.5...
Further on I'm getting:
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wshadow
-Demacs -I. -DHAVE_CONFIG_H -I/usr/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/lib/glib/include -I/usr/X11R6/include -Wno-shadow
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c: In function
`Freceive_gpm_event':
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:136: warning: implicit declaration
of function `Fselected_frame'
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c: In function
`tty_get_foreign_selection':
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:210: warning: implicit declaration
of function `DEVICE_INFD'
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c: In function
`tty_get_mouse_position':
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:351: warning: implicit declaration
of function `DEVICE_SELECTED_FRAME'
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c: In function
`hook_console_methods_once':
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:464: warning: implicit declaration
of function `CONSOLE_HAS_METHOD'
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:464: `tty' undeclared (first use
in this function)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:464: (Each undeclared identifier is
reported only once
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:464: for each function it appears
in.)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:464: `get_mouse_position'
undeclared (first use in this function)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:465: `set_mouse_position'
undeclared (first use in this function)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:466: `get_foreign_selection'
undeclared (first use in this function)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:467: `selection_exists_p'
undeclared (first use in this function)
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c: At top level:
/home/malcolmp/devl/xemacs/xemacs-21.5/src/gpmevent.c:207: warning:
`tty_get_foreign_selection' defined but not used
Freceive_gpm_event is in frame.h, but DEVICE_INFD is in device-impl.h and
get_mouse_position is in console-impl.h. Should these be included by
gpmevent.c?
Configuration:
../xemacs-21.5/configure --prefix=/usr/local/gcc3-world --with-gnome
on PPC Linux.
Malcolm
--
The hidden, terrible cost of nuclear warfare is Really Bad Public Art.
- Angus McIntyre, alt.peeves, 13/3/02.