This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/5] [v2] Add C11 threads.h support.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Juan Manuel Torres Palma <j dot m dot torrespalma at gmail dot com>
- Cc: <libc-alpha at sourceware dot org>, Juan Manuel Torres Palma <jmtorrespalma at gmail dot com>
- Date: Thu, 13 Aug 2015 23:51:06 +0000
- Subject: Re: [PATCH 3/5] [v2] Add C11 threads.h support.
- Authentication-results: sourceware.org; auth=none
- References: <1439299988-30771-1-git-send-email-j dot m dot torrespalma at gmail dot com>
On Tue, 11 Aug 2015, Juan Manuel Torres Palma wrote:
> -linknamespace-libs-isoc = $(common-objpfx)libc.a $(common-objpfx)math/libm.a
> +linknamespace-libs-isoc = $(common-objpfx)libc.a $(common-objpfx)math/libm.a
This change is just adding spurious trailing whitespace.
> diff --git a/conform/data/threads.h-data b/conform/data/threads.h-data
> new file mode 100644
> index 0000000..bbd810f
> --- /dev/null
> +++ b/conform/data/threads.h-data
> @@ -0,0 +1,56 @@
> +allow-header time.h
Inclusion of time.h from threads.h isn't simply allowed - it's *required*.
So you should have
#include "time.h-data"
instead, to require all the C11 definitions from time.h to appear when
threads.h is included.
--
Joseph S. Myers
joseph@codesourcery.com