https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211333
Jilles Tjoelker <jil...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |jil...@freebsd.org Resolution|--- |FIXED Assignee|freebsd-bugs@FreeBSD.org |jil...@freebsd.org --- Comment #1 from Jilles Tjoelker <jil...@freebsd.org> --- Applications are not supposed to define __BSD_VISIBLE and whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported. Therefore, the correct fix is to remove the || __BSD_VISIBLE part in that line in include/unistd.h. I did this in 11-current in SVN r265878 but do not plan to MFC it. Note that it is still possible to have __POSIX_VISIBLE or __XSI_VISIBLE in the same #if as __BSD_VISIBLE if the feature was deprecated by POSIX and is therefore only available in older POSIX versions but should still be available in the default compilation environment. -- 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"