Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 14:35:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-standards@FreeBSD.org
Subject:   [Bug 207079] #include <signal.h> doesn't make ucontext_t available
Message-ID:  <bug-207079-15@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207079

            Bug ID: 207079
           Summary: #include <signal.h> doesn't make ucontext_t available
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: freebsd-standards@FreeBSD.org
          Reporter: lantw44@gmail.com

According to POSIX standard (
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html),
including signal.h should define the mcontext_t and the ucontext_t type.

However, this doesn't work on FreeBSD. Compiling this simple program:
#include <signal.h>
int main (int argc, char *argv[]) { ucontext_t u; }

causes this error to be showed:
<filename.c>:2:37: error: use of undeclared identifier 'ucontext_t'


This problem also causes the current WebKit trunk build to fail. Can this
problem be fixed, so we don't have to add a workaround for it in WebKit? I =
am
using FreeBSD 10.3-BETA1.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207079-15>