This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/22862] _DEFAULT_SOURCE is defined even when _ISOC11_SOURCE is
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 21 Feb 2018 10:40:56 +0000
- Subject: [Bug build/22862] _DEFAULT_SOURCE is defined even when _ISOC11_SOURCE is
- Auto-submitted: auto-generated
- References: <bug-22862-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22862
--- Comment #1 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 862b45026fa67277a554eb329538a7d536311eca (commit)
from 999a6dab3ee1c8e77bb348ba2389e7aeb5c062b2 (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=862b45026fa67277a554eb329538a7d536311eca
commit 862b45026fa67277a554eb329538a7d536311eca
Author: Rical Jasan <ricaljasan@pacific.net>
Date: Mon Feb 19 04:37:16 2018 -0800
manual: Update _DEFAULT_SOURCE. [BZ #22862]
The description of the interplay between feature test macros and
compiler options in the description of _DEFAULT_SOURCE is a little
confusing, and dated, so clarify the situation, and don't assume a
specific value for _DEFAULT_SOURCE.
Also, _DEFAULT_SOURCE is supposed to be defined if none of the C/POSIX
feature test macros are defined, but the condition was lacking a test
for _ISOC11_SOURCE, so that is also addressed.
[BZ #22862]
* include/features.h: Add _ISOC11_SOURCE to test for whether
to define _DEFAULT_SOURCE.
* manual/creature.texi (_DEFAULT_SOURCE): Improve
documentation.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
include/features.h | 2 +-
manual/creature.texi | 21 ++++++++++++++-------
3 files changed, 22 insertions(+), 8 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.