[ET Trac] [Einstein Toolkit] #1754: _BSD_SOURCE in glibc apparently going away

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Jun 9 09:41:03 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
Resolution:              |    Keywords:                     
-------------------------+--------------------------------------------------

Comment (by knarf):

 Just defining _BSD_SOURCE I think will trigger a warning, unless
 _DEFAULT_SOURCE isn't defined as well.
 https://lwn.net/Articles/590381/ :
 {{{
 The first of these patches converts _BSD_SOURCE and _SVID_SOURCE into
 synonyms for _DEFAULT_SOURCE. The deprecated macros remain effective, but
 cause compile-time warnings to be generated if they are used (unless
 _DEFAULT_SOURCE is also defined).
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1754#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list