Date: Wed, 19 Dec 2018 21:03:27 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234180 Bug ID: 234180 Summary: getrandom linking problem due to missing macros in sys/random.h Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: tremere@cainites.net Created attachment 200284 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200284&action= =3Dedit Add missing macros for C++ linking While testing a new version of an application I ran into a linking error. It appears c++ sources including sys/random.h fail linking due to a missing reference to getrandom. This is caused by missing __BEGIN_DECLS/__END_DECLS= in sys/random.h Supplied patch remedies the problem, but it might need review by a C++ guru (which I'm not). --=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>