You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#ifdef _BSD_SOURCE (added in 78799a0) is never true during the build because _BSD_SOURCE is not defined.
The root cause for the implicit declaration of setgroups is in meson.build, where c_std=c11 is specified. This results in building with -std=c11, which turns on strict POSIX mode in glibc, so setgroups is no longer declared in <grp.h>.
You probably should not downgrade the C compiler defaults using -std=c11, or define _DEFAULT_SOURCE (and perhaps _BSD_SOURCE for really old glibc) at the start of setuid.c.
The text was updated successfully, but these errors were encountered:
#ifdef _BSD_SOURCE
(added in 78799a0) is never true during the build because_BSD_SOURCE
is not defined.The root cause for the implicit declaration of
setgroups
is inmeson.build
, wherec_std=c11
is specified. This results in building with-std=c11
, which turns on strict POSIX mode in glibc, sosetgroups
is no longer declared in<grp.h>
.You probably should not downgrade the C compiler defaults using
-std=c11
, or define_DEFAULT_SOURCE
(and perhaps_BSD_SOURCE
for really old glibc) at the start ofsetuid.c
.The text was updated successfully, but these errors were encountered: