MacOS?

Aidan Kehoe kehoea at parhasard.net
Wed Jan 2 11:43:50 EST 2008


 Ar an dara lá de mí Eanair, scríobh Jerry James: 

 > On Jan 2, 2008 4:03 AM, Aidan Kehoe <kehoea at parhasard.net> wrote:
 > >
 > >  Ar an dara lá de mí Eanair, scríobh Jamie Zawinski:
 > >
 > >  > Well, I don't understand why INLINE_HEADER would ever declare the
 > >  > function extern, but if I hack config.h to always do
 > >  >
 > >  > # define INLINE_HEADER inline static
 > >  >
 > >  > then temacs builds.  It then blows up later:
 > 
 > Jamie, are you compiling in C99 mode (e.g., using -std=c99 or
 > -std=gnu99)?  The C99 definitions of "static inline" and "extern
 > inline" are almost exactly reversed from the traditional GNU
 > definitions.  Our code assumes the traditional GNU definitions.  I'll
 > have to figure out how to detect when a C99 compile is in progress and
 > reverse the definitions.

You can check if __STDC_VERSION__ is #defined and greater than 199901L, as I
understand it. 

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?



More information about the XEmacs-Beta mailing list