#1754: _BSD_SOURCE in glibc apparently going away ------------------------+--------------------------------------------------- Reporter: rhaas | Owner: Type: task | Status: new Priority: unset | Milestone: Component: SimFactory | Version: development version Keywords: | ------------------------+--------------------------------------------------- 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<--
We use this in some of our option lists to make {{{M_PI}}} and {{{strdup}}} visible.