From xemacs-m  Tue Mar  4 12:52:57 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA21905
	for <xemacs-beta@xemacs.org>; Tue, 4 Mar 1997 12:52:56 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA16557;
	Tue, 4 Mar 1997 11:04:27 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Question about src/s/linux.h
References: <9703041124.aa03308@uklirb.informatik.uni-kl.de>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: jaeger@informatik.uni-kl.de's message of 4 Mar 1997 11:20:19 +0100
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 04 Mar 1997 11:04:26 -0800
Message-ID: <m2g1ybpjgl.fsf@altair.xemacs.org>
Lines: 57
X-Mailer: Gnus v5.4.17/XEmacs 20.1

jaeger  writes:

> In src/s/linux.h is the following code (line 237):
---------------------------> 
> /* XEmacs addition: */
> /* Linux defines these in <values.h>, but they can't be used in #if's
>    Include values.h now so that we don't get complaints if it's
> included later. 
> */

> #include <values.h>
> #undef  SHORTBITS
> #undef  INTBITS
> #undef  LONGBITS
> <---------------------------
 ...
> Greping through the source I found no place where <values.h> is
> included and therefore think that we can delete the code.

Nope.  You get error messages all over the place with classic libc.

gcc -c -Demacs -DHAVE_CONFIG_H  -I.        -I/usr/src/xemacs-20.0/src -I/usr/src/xemacs-20.0/src/.      -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE         -I/usr/X11R6/include/wnn  -I/usr/X11R6/include            -I/usr/src/xemacs-20.0/src/../lwlib    -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 /usr/src/xemacs-20.0/src/data.c
In file included from /usr/include/math.h:330,
                 from /usr/src/xemacs-20.0/src/sysfloat.h:44,
                 from /usr/src/xemacs-20.0/src/data.c:37:
/usr/include/values.h:35: warning: `SHORTBITS' redefined
config.h:681: warning: this is the location of the previous definition
/usr/include/values.h:36: warning: `INTBITS' redefined
config.h:684: warning: this is the location of the previous definition
/usr/include/values.h:37: warning: `LONGBITS' redefined
config.h:687: warning: this is the location of the previous definition

gcc -c -Demacs -DHAVE_CONFIG_H  -I.        -I/usr/src/xemacs-20.0/src -I/usr/src/xemacs-20.0/src/.      -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE         -I/usr/X11R6/include/wnn  -I/usr/X11R6/include            -I/usr/src/xemacs-20.0/src/../lwlib    -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 /usr/src/xemacs-20.0/src/floatfns.c
In file included from /usr/include/math.h:330,
                 from /usr/src/xemacs-20.0/src/sysfloat.h:44,
                 from /usr/src/xemacs-20.0/src/floatfns.c:56:
/usr/include/values.h:35: warning: `SHORTBITS' redefined
config.h:681: warning: this is the location of the previous definition
/usr/include/values.h:36: warning: `INTBITS' redefined
config.h:684: warning: this is the location of the previous definition
/usr/include/values.h:37: warning: `LONGBITS' redefined
config.h:687: warning: this is the location of the previous definition

gcc -c -Demacs -DHAVE_CONFIG_H  -I.        -I/usr/src/xemacs-20.0/src -I/usr/src/xemacs-20.0/src/.      -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE         -I/usr/X11R6/include/wnn  -I/usr/X11R6/include            -I/usr/src/xemacs-20.0/src/../lwlib    -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 /usr/src/xemacs-20.0/src/lread.c
In file included from /usr/include/math.h:330,
                 from /usr/src/xemacs-20.0/src/sysfloat.h:44,
                 from /usr/src/xemacs-20.0/src/lread.c:47:
/usr/include/values.h:35: warning: `SHORTBITS' redefined
config.h:681: warning: this is the location of the previous definition
/usr/include/values.h:36: warning: `INTBITS' redefined
config.h:684: warning: this is the location of the previous definition
/usr/include/values.h:37: warning: `LONGBITS' redefined
config.h:687: warning: this is the location of the previous definition

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

