This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16632] Provide easy way to transition from _BSD_SOURCE/_SVID_SOURCE to _DEFAULT_SOURCE.
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 25 Feb 2014 18:28:57 +0000
- Subject: [Bug libc/16632] Provide easy way to transition from _BSD_SOURCE/_SVID_SOURCE to _DEFAULT_SOURCE.
- Auto-submitted: auto-generated
- References: <bug-16632-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=16632
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ade40b10ff5fa59a318cf55b9d8414b758e8df78 (commit)
from d050367659e04685a0eab910e86ea6829a8d24f9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ade40b10ff5fa59a318cf55b9d8414b758e8df78
commit ade40b10ff5fa59a318cf55b9d8414b758e8df78
Author: Carlos O'Donell <carlos@redhat.com>
Date: Tue Feb 25 13:23:25 2014 -0500
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
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 2 +-
include/features.h | 7 +++++--
3 files changed, 12 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.