On Apr 10 2019, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
So _DEFAULT_SOURCE always defines -D_POSIX_C_SOURCE=200809L without
implicit _XOPEN_SOURCE from glibc 2.19 to 2.30. Afaik there is no need to
currently to add POSIX1.2017 support, so the question is whether
glibc will continue to eforce -D_POSIX_C_SOURCE=200809L for
_DEFAULT_SOURCE in future versions or if the flag will eventually be update
whether/once a new POSIX1 version is required.
I think _DEFAULT_SOURCE should always be what is considered state of the
art, similar to gcc default for -std moving forward.