Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2018 21:19:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234180] getrandom linking problem due to missing macros in sys/random.h
Message-ID:  <bug-234180-227-tlCxVnRBEw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234180-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234180-227@https.bugs.freebsd.org/bugzilla/>

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

Conrad Meyer <cem@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cem@freebsd.org

--- Comment #1 from Conrad Meyer <cem@freebsd.org> ---
The cdefs include isn't needed (it's in the wrong place, too, but it's
redundant with the sys/types include already present in the right place at =
top
of file).  Otherwise, adding the C++ demangling seems reasonable to me =E2=
=80=94 at
least in the sense that it is consistent with other sys/ headers.

For 12.0, can you work around the issue by adding 'extern "C" {' around the
#include?

--=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-234180-227-tlCxVnRBEw>