https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234180

            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: b...@freebsd.org
          Reporter: trem...@cainites.net

Created attachment 200284
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200284&action=edit
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to