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 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.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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