This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _DEFAULT_SOURCE expected semantic


On 4/10/19 8:57 AM, Andreas Schwab wrote:
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.

Agreed.

--
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]