From xemacs-m  Mon Apr 14 02:19:53 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id CAA08346
	for <xemacs-beta@xemacs.org>; Mon, 14 Apr 1997 02:19:52 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id AAA07573; Mon, 14 Apr 1997 00:19:20 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id AAA04134; Mon, 14 Apr 1997 00:19:17 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id AAA15272; Mon, 14 Apr 1997 00:19:18 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id AAA00591; Mon, 14 Apr 1997 00:19:16 -0700
Date: Mon, 14 Apr 1997 00:19:16 -0700
Message-Id: <199704140719.AAA00591@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: "Karl M. Hegbloom" <karlheg@inetarena.com>
Cc: <xemacs-beta@xemacs.org>, "Francesco Potorti`" <F.Potorti@cnuce.cnr.it>
Subject: Re: build report: 20.1-b15 Linux 2.0.30
In-Reply-To: <199704140636.XAA19295@bittersweet.inetarena.com>
References: <199704140501.WAA14466@bittersweet.inetarena.com>
	<m2n2r2rw28.fsf@altair.xemacs.org>
	<kigpvvykv0y.fsf@jagor.srce.hr>
	<199704140636.XAA19295@bittersweet.inetarena.com>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Karl" == Karl M Hegbloom <karlheg@inetarena.com> writes:

Karl>  It compiles, but gives warnings, like this one

Karl> emacs.c: In function `Frun_emacs_from_temacs':
Karl> emacs.c:1721: warning: assignment discards `const' from pointer target type
Karl> emacs.c:1730: warning: assignment discards `const' from pointer target type

Karl> emacs.c:1721 looks like:
Karl>   GET_STRING_EXT_DATA_ALLOCA (orig_invoc_name, FORMAT_OS, wampum,
Karl> 			      namesize);
Karl>   namesize++;

Karl>  ... And the macro is defined in "buffer.h".  I don't understand it.

Let's not try to fix any of these until the C++ compilability patch is
in (20.2).  There were many such things that needed fixing.  There
will likely be more, however.  Note that CONST correctness is very
hard, often requiring modifying *everything*.

Karl>  The warning in etags/ctags (both times, same line) is:

Karl> /usr/local/src/xemacs-20.1-b15/lib-src/etags.c: In function `etags_getcwd':
Karl> /usr/local/src/xemacs-20.1-b15/lib-src/etags.c:4354: warning: comparison between pointer and integer

The maintainer, Francesco Potorti` <F.Potorti@cnuce.cnr.it> tries to
keep etags.c portable to very old systems.  That's why it's still in
k&r C.  We don't want to modify this particular source file ever.

Karl>  This fixes it for me; AFAIK <unistd.h> is on every UNIX computer???
Karl> It's in the POSIX book I haven't finished reading. :-)

Every UNIX computer you'll want to use, but not every UNIX computer.

Martin

