From xemacs-m  Sat Dec 28 05:22:34 1996
Received: from sol1.cybernet-ag.net (sol1.cybernet-ag.net [194.221.86.98])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id FAA04598 for <xemacs-beta@xemacs.org>; Sat, 28 Dec 1996 05:22:33 -0600 (CST)
Received: (from aseibert@localhost) by sol1.cybernet-ag.net  id MAA18514; Sat, 28 Dec 1996 12:22:11 +0100 (MET)
Date: Sat, 28 Dec 1996 12:22:11 +0100 (MET)
Message-Id: <199612281122.MAA18514@sol1.cybernet-ag.net>
From: Axel Seibert <aseibert@cybernet-ag.net>
To: xemacs-beta@xemacs.org
In-reply-to: <199612281104.DAA03607@xemacs.eng.sun.com> (message from Martin
	Buchholz on Sat, 28 Dec 1996 03:04:45 -0800)
Subject: Re: xemacs-19.15b4/b4 report for NEXTSTEP

>>>>> "Martin" == Martin Buchholz <mrb@Eng.Sun.COM> writes:
>>>>> "Axel" == Axel Seibert <aseibert@cybernet-ag.net> writes:
Martin> Huh?? Without a window system, I presume. Although there is
Martin> some NeXt-specific code in XEmacs, I had always assumed that
Martin> the native window system support was still missing.

Yes, of course. Sorry, that I didn`t mention this (configure
--with-x=no results in a terminal-only version, that has been tested
under NEXTSTEP/terminal). But hey, that's a first step :-)

Axel> Looking at this file I find:

Axel> typedef SIGTYPE (*signal_handler_t) (int);

Axel> and doing a diff between syssignal.h and syssignal.h.orig
Axel> (obviously from the patch b4-b5):

Axel> 91,92d90 < typedef SIGTYPE (*signal_handler_t) (int); < 96a95 >
Axel> typedef SIGTYPE (*signal_handler_t) (int);

Martin> Looks harmless enough. Please dig some more. Often examining
Martin> the source files after it's been pre-processed is useful.

Martin> Perhaps make callproc.i will create a pre-processed source
Martin> file for you.

All right; sorry if this looks amusing to you, but a "make callproc.i"
doesn't work.
So I did a
cc -E -Demacs -DHAVE_CONFIG_H -I. -I/usr/local/src/xemacs-19.15-b5/src
callproc.c

but it doesn't produce any output apart from the error message.

syssignal.h:91: syntax error, found `int'
syssignal.h:91: illegal external declaration, missing `;' after `int'
syssignal.h:91: illegal external declaration, missing `;' after `int'

As this failed, I just moved syssignal.h to syssignal.h.new and
syssignal.h.orig to syssignal.h - and sure enough, it works now again.
Seems to be some strange thing with NeXT's gcc.

Maybe I can find this out later today...
Axel

