I've just tried to build the XEmacs 21.4.9 release candidate (r21-4-9rc1) on
the latest release of Cygwin (1.3.10-1). It fails building device-msw.c with
the following error:
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare
-Wshadow -Wpointer-arith -Demacs -I. -DHAVE_CONFIG_H -Wno-sign-compare -fn
o-caller-saves -I/usr/X11R6/include device-msw.c
device-msw.c: In function `mswindows_handle_page_setup_dialog_box':
device-msw.c:872: `LOCALE_RETURN_NUMBER' undeclared (first use in this
function)
device-msw.c:872: (Each undeclared identifier is reported only once
device-msw.c:872: for each function it appears in.)
make[1]: *** [device-msw.o] Error 1
I've attached the configure log to the message.
I also checked the 'LOCALE_RETURN_NUMBER' flag on MSDN, where it says that
it is only in Windows 98/Me, Windows NT 4.0 and later, so it may not be the
right flag to be using in a generic win32 version anyway?
I can't find any discussion of this flag on the Cygwin mailing lists. The
only mention on the XEmacs lists seems to be the patch that added its use
(
http://list-archive.xemacs.org/xemacs-beta/200203/msg00676.html and
http://list-archive.xemacs.org/xemacs-beta/200203/msg00679.html and
http://list-archive.xemacs.org/xemacs-beta/200203/msg00697.html)
Hope this helps.
// Conrad