GNU bug report logs -
#8800
24.0.50: At revno: 104484 alloc.c does not compile
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Sat, 4 Jun 2011 10:35:01 UTC
Severity: normal
Found in version 24.0.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
The is the report of GCC 4.5.2:
alloc.c: In function ‘memory_full’:
alloc.c:3286:7: error: ‘SPARE_MEMORY’ undeclared (first use in this
function)
alloc.c:3286:7: note: each undeclared identifier is reported only once
for each function it appears in
In src/alloc.c I have:
187 /* Points to memory space allocated as "spare", to be freed if
we run
188 out of memory. We keep one large block, four cons-blocks, and
189 two string blocks. */
190
191 static char *spare_memory[7];
192
193 #ifndef SYSTEM_MALLOC
194 /* Amount of spare memory to keep in large reserve block. */
195
196 #define SPARE_MEMORY (1 << 14)
197 #endif
In src/config.h I have, around line #1060:
#define SYSTEM_MALLOC 1
so SPARE_MEMORY does not get defined.
--
Greetings
Pete
And always remember the last words of my grandfather, who said: “A
truck!”
— Emo Phillips
This bug report was last modified 14 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.