Building JSS results several warning to the effect that "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
One sample: gcc -o Linux4.17_x86_64_glibc_PTH_64_DBG.OBJ/nsinstall.o -c -g -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -fPIC -DLINUX2_1 -Wall -Werror-implicit-function-declaration -Wno-switch -pipe -DLINUX -Dlinux -DHAVE_STRERROR -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_emaldonado -D_REENTRANT -DUSE_UTIL_DIRECTLY -I../../../dist/Linux4.17_x86_64_glibc_PTH_64_DBG.OBJ/include -I../../../dist/public/coreconf -I../../../dist/private/coreconf nsinstall.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from nsinstall.c:8: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~ Upstream NSS has solved this and we should follow suite.
Simple fix for such warnings
<img alt="fix4Warnings.patch" src="/jss/issue/raw/files/18027bfb0e34eebcd4ebbc137c0443e2fdee90d5394778f0d15fb961c1278cf9-fix4Warnings.patch" />
https://github.com/emaldona/jss/tree/DEPRECATED_BSD_SOURCE_AND_SVID_SOURCE_WARNING_BRANCH has the fix from this patch.
This has been fixed by jss pr#21. The commit in upstream is afecca.
Metadata Update from @cipherboy: - Issue assigned to cipherboy
Metadata Update from @cipherboy: - Custom field component adjusted to None - Custom field feature adjusted to None - Custom field origin adjusted to None - Custom field proposedmilestone adjusted to None - Custom field proposedpriority adjusted to None - Custom field reviewer adjusted to None - Custom field type adjusted to None - Custom field version adjusted to None - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.