#1754: _BSD_SOURCE in glibc apparently going away
Reporter:Roland Haas
Status:resolved
Milestone:
Version:development version
Type:task
Priority:minor
Component:SimFactory

Changes (by Roland Haas):

status:resolved (was new)

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.

Keyword:

Comment (by Roland Haas):

This seems to have not been much of a problem and the ET no longer uses _BSD_SOURCE anywhere.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1754/_bsd_source-in-glibc-apparently-going-away