]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
BZ #16632: Change [_BSD/_SVID]_SOURCE warning.
authorCarlos O'Donell <carlos@redhat.com>
Tue, 25 Feb 2014 18:23:25 +0000 (13:23 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 25 Feb 2014 18:23:25 +0000 (13:23 -0500)
commitade40b10ff5fa59a318cf55b9d8414b758e8df78
tree599c080add2a6060c32f97d8e2c8c47318b7fb4e
parentd050367659e04685a0eab910e86ea6829a8d24f9
BZ #16632: Change [_BSD/_SVID]_SOURCE warning.

Source packages that need to support both 2.19 and
2.20 will need to decide to use _BSD_SOURCE and
_SVID_SOURCE vs. _DEFAULT_SOURCE.

The difficulty in making that decision is that
__GLIBC_MINOR__ is itself defined in features.h,
but you want to set the feature test macros before
including features.h.

Therefore to ease the transition we should disable
the warning if _DEFAULT_SOURCE is also defined.

https://sourceware.org/ml/libc-alpha/2014-02/msg00666.html

https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes
ChangeLog
NEWS
include/features.h