Date: Sun, 21 Nov 2021 20:17:28 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 259975] sys/file.h fails when -D_POSIX_C_SOURCE=200809L is given Message-ID: <bug-259975-29464-81x4nFjlrG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259975-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-259975-29464@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=3D259975 --- Comment #5 from Warner Losh <imp@FreeBSD.org> --- (In reply to Yuri Victorovich from comment #4) set (HDF_EXTRA_C_FLAGS -D_POSIX_C_SOURCE=3D200809L) needs to be removed from ThirdParty/hdf5/vtkhdf5/config/cmake_ext_mod/ConfigureChecks.cmake in the FreeBSD port. It uses flock, which isn't in POSIX, so setting POSIX_C_SOURC= E is likely inappropriate. It's also a bug that we try to define xfile when __BSD_VISIBLE is defined, = but fixing that wouldn't fix hdf5 inside of vtk. --=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-259975-29464-81x4nFjlrG>