GNU bug report logs - #6751
24.0.50; lisp.h:2998: error: syntax error before ‘time_t’

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Thu, 29 Jul 2010 13:33:01 UTC

Severity: normal

Found in version 24.0.50

Done: Dan Nicolaescu <dann <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6751 in the body.
You can then email your comments to 6751 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6751; Package emacs. (Thu, 29 Jul 2010 13:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 29 Jul 2010 13:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; lisp.h:2998: error: syntax error before ‘time_t’
Date: Thu, 29 Jul 2010 15:32:56 +0200
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





Reply sent to Dan Nicolaescu <dann <at> gnu.org>:
You have taken responsibility. (Thu, 29 Jul 2010 15:52:01 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Thu, 29 Jul 2010 15:52:01 GMT) Full text and rfc822 format available.

Message #10 received at 6751-done <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 6751-done <at> debbugs.gnu.org
Subject: Re: bug#6751: 24.0.50; lisp.h:2998: error: syntax error before
	‘time_t’
Date: Thu, 29 Jul 2010 11:52:06 -0400
Peter Dyballa <Peter_Dyballa <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 27 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.