bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8800: 24.0.50: At revno: 104484 alloc.c does not compile


From: Peter Dyballa
Subject: bug#8800: 24.0.50: At revno: 104484 alloc.c does not compile
Date: Sat, 4 Jun 2011 12:34:04 +0200

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]