I'm the maintainer for ports/editors/joe, and just tried compiling it under

<signal.h> includes <sys/signal.h> which includes ucontext.h

> cc -O -pipe  -c umath.c
> In file included from b.h:6,
>                  from bw.h:23,
>                  from umath.c:5:
> rc.h:41: conflicting types for `getcontext'
> /usr/include/sys/ucontext.h:54: previous declaration of `getcontext'
> *** Error code 1
> Stop in /usr/ports/editors/joe/work/joe.

I can rename getcontext in joe, but "getcontext" seems like a pretty common
function name, I know I've used it in projects before. Not including
signal.h isn't really an option either.

I'm not familiar with any of the ucontext.h functions, are they complying
with some kind of standard and can't be renamed or have a prefix added to

-- Kevin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to