delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/28/16:00:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 28 Mar 2005 22:55:57 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c533d8$Blat.v2.4$af98b3e0@zahav.net.il>
X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4
In-reply-to: <1112036096.004173.63590@o13g2000cwo.googlegroups.com>
(ogi AT fmi DOT uni-sofia DOT bg)
Subject: Re: Emacs 21.4a
References: <1110992417 DOT 515321 DOT 24950 AT g14g2000cwa DOT googlegroups DOT com>
<01c52a63$Blat.v2.4$8b3bad00 AT zahav DOT net DOT il>
<1111067231 DOT 228244 DOT 154740 AT f14g2000cwb DOT googlegroups DOT com>
<01c52bd2$Blat.v2.4$b2387c60 AT zahav DOT net DOT il>
<01c52ca6$Blat.v2.4$78974520 AT zahav DOT net DOT il>
<1111771715 DOT 793217 DOT 54080 AT f14g2000cwb DOT googlegroups DOT com>
<01c53205$Blat.v2.4$dec98060 AT zahav DOT net DOT il>
<1112036096 DOT 004173 DOT 63590 AT o13g2000cwo DOT googlegroups DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Ognyan Kulev" <ogi AT fmi DOT uni-sofia DOT bg>
> Date: 28 Mar 2005 11:03:05 -0800
> 
> Here is the relevant result of the preprocessor:
> 
> # 109 "sysdep.c" 2
> # 1 "c:/djgpp/include/sys/param.h" 1 3 4
> # 15 "c:/djgpp/include/sys/param.h" 3 4
> # 1 "c:/djgpp/bin/../lib/gcc/djgpp/3.43/include/limits.h" 1 3 4
> # 16 "c:/djgpp/include/sys/param.h" 2 3 4
> # 110 "sysdep.c" 2
> 
> Search of "limits.h" doesn't show anything else.

Something is seriously wrong with your DJGPP or GCC installations, or
with how you compiled Emacs.  It looks like GCC didn't find
c:/djgpp/lib/gcc/djgpp/3.43/include/limits.h on your system.  Can you
see why it didn't? that file comes with gcc343b.zip, so it should be
there.

Here's what I see in the preprocessed sysdep.c on my system:

# 109 "sysdep.c" 2
# 1 "d:/usr/djgpp/include/sys/param.h" 1 3 4
# 15 "d:/usr/djgpp/include/sys/param.h" 3 4
# 1 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 1 3 4
# 11 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 3 4
# 1 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/syslimits.h" 1 3 4






# 1 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 1 3 4
# 122 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 3 4
# 1 "d:/usr/djgpp/lib/gcc/djgpp/3.43/include/limits.h" 1 3 4
# 122 "d:/usr/djgpp/lib/gcc/djgpp/3.43/include/limits.h" 3 4
# 1 "d:/usr/djgpp/include/limits.h" 1 3 4
# 123 "d:/usr/djgpp/lib/gcc/djgpp/3.43/include/limits.h" 2 3 4
# 123 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 2 3 4
# 8 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/syslimits.h" 2 3 4
# 12 "D:/USR/DJGPP/BIN/../lib/gcc/djgpp/3.43/include/limits.h" 2 3 4
# 16 "d:/usr/djgpp/include/sys/param.h" 2 3 4
# 110 "sysdep.c" 2

> I see only the following part of 3.43/include/limits.h as possible
> reason for this:
> 
> #ifndef __dj_include_limits_h_
> #define __dj_include_limits_h_

This is from c:/djgpp/include/limits.h, not from GCC's limits.h.  Did
you really see this in DJGPP's limits.h?

> Hm, but it's not strict ANSI...

So?  Emacs is not compiled with -ansi, so that should not matter.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019