Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!mandrill!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: comp.sources.d Subject: Re: Microemacs 3.9 source problems Message-ID: <6289@ncoast.UUCP> Date: Sat, 28-Nov-87 16:44:11 EST Article-I.D.: ncoast.6289 Posted: Sat Nov 28 16:44:11 1987 Date-Received: Tue, 1-Dec-87 05:07:28 EST References: <1923@tut.cis.ohio-state.edu> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.sources.d Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 23 As quoted from <1923@tut.cis.ohio-state.edu> by mdf@tut.cis.ohio-state.edu (Mark D. Freeman): +--------------- | In compiling spawn.c on a Santa Cruz XENIX System V 286 v2.2 machine, | with the command 'make -f makefile.unx', without modifying anything, I | get a warning on line 795. The warning is 'conversion of near pointer | to long integer'. The really strange part is that this line follows a | line that says '#ifdef AZTEC', so line 795 shouldn't even get seem by | the compiler. Any ideas? +--------------- The problem is "...without modifying anything..." -- there is a header file in uEmacs which *MUST* be modified to inform the compiler what kind of system to compile for. The last time I compiled uEmacs, I seem to remember that the default was in fact #define MSDOS 1, #define AZTEC 1. It never hurts to check the configuration, even if the documentation says that the default is correct for your system. Sometimes last-minute changes are made and the documentation isn't updated... besides, wrong documentation is a Un*x tradition! ;-) -- Brandon S. Allbery necntc!ncoast!allbery@harvard.harvard.edu {hoptoad,harvard!necntc,cbosgd,sun!mandrill!hal,uunet!hnsurg3}!ncoast!allbery Moderator of comp.sources.misc