delorie.com/archives/browse.cgi | search |
> 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |