unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Trunk (r110168) build error on FreeBSD
@ 2012-09-23 19:34 Herbert J. Skuhra
  2012-09-23 22:28 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert J. Skuhra @ 2012-09-23 19:34 UTC (permalink / raw)
  To: emacs-devel

Hei,

trunk (r1110168) does not build/bootstrap on FreeBSD:

In file included from category.c:35:
lisp.h:3336: error: expected ')' before 'int'
lisp.h:3424: warning: parameter names (without types) in function declaration
lisp.h:3425: warning: parameter names (without types) in function declaration
gmake[1]: *** [category.o] Error 1
gmake[1]: Leaving directory `/home/herbert/source/emacs/trunk/src'
gmake: *** [src] Error 2

After adding "#include <sys/types.h>" to src/lisp.h the build
completes.

-- 
Herbert



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trunk (r110168) build error on FreeBSD
  2012-09-23 19:34 Trunk (r110168) build error on FreeBSD Herbert J. Skuhra
@ 2012-09-23 22:28 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2012-09-23 22:28 UTC (permalink / raw)
  To: Herbert J. Skuhra; +Cc: emacs-devel

On 09/23/2012 12:34 PM, Herbert J. Skuhra wrote:

> After adding "#include <sys/types.h>" to src/lisp.h the build
> completes.

That works, but it's nicer if lisp.h doesn't depend on <sys/types.h>.
Instead, function decls that use pid_t should probably be declared
in a header that already arranges to define pid_t.  I gave that a
shot in trunk bzr 110173, using syswait.h; please give it a try.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-23 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-23 19:34 Trunk (r110168) build error on FreeBSD Herbert J. Skuhra
2012-09-23 22:28 ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).