[ET Trac] [Einstein Toolkit] #1754: _BSD_SOURCE in glibc apparently going away
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Mar 12 05:39:18 CDT 2015
#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.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1754>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list