#1754: _BSD_SOURCE in glibc apparently going away -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: Type: task | Status: new Priority: unset | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by knarf):
Replying to [ticket:1754 rhaas]:
I just stumbled accross https://lwn.net/Articles/634207/ which states:
--8<-- Also in 2.20, the _BSD_SOURCE and _SVID_SOURCE feature test macros have
been removed. The declarations formerly available under those macros are now under _DEFAULT_SOURCE, but, since it's the default, one need not set it explicitly. Roland's suggestion, though, was that most code would (continue to) want to use _GNU_SOURCE or one of the POSIX-specific macros. (See this article for an introduction to glibc feature test macros).
--8<--
Worth mentioning (should be obvious due to the quote, but wasn't for me), that this "Roland" isn't "our" Roland. :)
So, in order for us to support all glibc versions, should we define _BSD_SOURCE _and_ _DEFAULT_SOURCE?
Frank