* bug#6751: 24.0.50; lisp.h:2998: error: syntax error before ‘time_t’
@ 2010-07-29 13:32 Peter Dyballa
2010-07-29 15:52 ` Dan Nicolaescu
0 siblings, 1 reply; 2+ messages in thread
From: Peter Dyballa @ 2010-07-29 13:32 UTC (permalink / raw)
To: 6751
Hello!
This is the compiler's first of many outputs (scroll.c, xdisp.c,
menu.c, ... fringe.c, terminfo.c):
In file included from frame.c:25:
lisp.h:2998: error: syntax error before ‘time_t’
The problem seems to be that lisp.h does not include time.h which has:
#ifndef _TIME_T
#define _TIME_T
typedef __darwin_time_t time_t;
#endif
__darwin_time_t is defined in /usr/include/ppc/_types.h as:
typedef long __darwin_time_t;
In frame.c much later /usr/include/sys/time.h is included via
systime.h and the typedef above renewed.
Mac OS X 10.5.8, PPC.
--
Greetings
Pete
Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us.
– Bill Watterson, in his comic strip Calvin and Hobbes
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#6751: 24.0.50; lisp.h:2998: error: syntax error before ‘time_t’
2010-07-29 13:32 bug#6751: 24.0.50; lisp.h:2998: error: syntax error before ‘time_t’ Peter Dyballa
@ 2010-07-29 15:52 ` Dan Nicolaescu
0 siblings, 0 replies; 2+ messages in thread
From: Dan Nicolaescu @ 2010-07-29 15:52 UTC (permalink / raw)
To: Peter Dyballa; +Cc: 6751-done
Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:
> Hello!
>
> This is the compiler's first of many outputs (scroll.c, xdisp.c,
> menu.c, ... fringe.c, terminfo.c):
>
> In file included from frame.c:25:
> lisp.h:2998: error: syntax error before ‘time_t’
>
> The problem seems to be that lisp.h does not include time.h which has:
>
> #ifndef _TIME_T
> #define _TIME_T
> typedef __darwin_time_t time_t;
> #endif
>
> __darwin_time_t is defined in /usr/include/ppc/_types.h as:
>
> typedef long __darwin_time_t;
>
> In frame.c much later /usr/include/sys/time.h is included via
> systime.h and the typedef above renewed.
>
> Mac OS X 10.5.8, PPC.
Thanks, this should be fixed now.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-29 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 13:32 bug#6751: 24.0.50; lisp.h:2998: error: syntax error before ‘time_t’ Peter Dyballa
2010-07-29 15:52 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.