Ar an dara lá de mí Eanair, scríobh Jerry James:
On Jan 2, 2008 4:03 AM, Aidan Kehoe <kehoea(a)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?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta