Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!jupiter.zir.ethz.ch!heiser From: heiser@jupiter.zir.ethz.ch Newsgroups: gnu.emacs.bug Subject: Emacs 18.55 fails to compile on Alliant Message-ID: Date: 15 Nov 89 19:43:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 103 >From jupiter.zir.ethz.ch!heiser Wed Nov 15 20:42:55 MET 1989 remote from ethz The files src/{emacs,filelock,doc}.c of emacs version 18.55 will not compile on an Alliant. The reason is that the file , included by , defines the macro NULL with a value of zero, breaking the NULL macro defined in "lisp.h". The remedy is to include before "lisp.h" as shown by the following context diffs: *** doc.c.orig Tue Mar 17 16:12:34 1987 --- doc.c Wed Nov 15 20:23:43 1989 *************** *** 19,30 **** and this notice must be preserved on all copies. */ #include "config.h" #include "lisp.h" #include "buffer.h" - - #include - #include /* Must be after sys/types.h for USG and BSD4_1*/ #ifdef USG5 #include --- 19,30 ---- and this notice must be preserved on all copies. */ + #include + #include /* Must be after sys/types.h for USG and BSD4_1*/ + #include "config.h" #include "lisp.h" #include "buffer.h" #ifdef USG5 #include *** emacs.c.orig Mon Mar 13 22:41:29 1989 --- emacs.c Wed Nov 15 20:12:51 1989 *************** *** 24,35 **** #include "config.h" #include #undef NULL #include "lisp.h" #include "commands.h" - - #include - #include #ifdef VMS #include --- 24,35 ---- #include "config.h" #include + #include + #include + #undef NULL #include "lisp.h" #include "commands.h" #ifdef VMS #include *** filelock.c.orig Thu Mar 24 10:31:00 1988 --- filelock.c Wed Nov 15 20:19:37 1989 *************** *** 20,25 **** --- 20,26 ---- #include #include + #include #include "config.h" #include "lisp.h" #include "paths.h" *************** *** 26,32 **** #include "buffer.h" #include #include - #include #ifdef USG #include #endif /* USG */ --- 27,32 ---- Gernot Heiser Integrated Systems Laboratory Phone: +41 1/256 23 48 ETH Zuerich EUNET: heiser@iis.ethz.ch CH-8092 Zuerich, Switzerland UUCP: {uunet,mcvax,cernvax...}!iis!heiser