From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: __STDC_NO_THREADS__
Date: Sun, 15 Dec 2013 19:58:59 -0500 [thread overview]
Message-ID: <20131216005858.GY24286@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAJusiZX5NXrouySD-DksAVQBec48YoeRddymjPF6DxaPCHZFCw@mail.gmail.com>
On Sun, Dec 15, 2013 at 03:36:39PM -0800, Shawn Landden wrote:
> we need to define __STDC_NO_THREADS__ like glibc for C11 compat.
>
> -Shawn
>
> see page 376 of c11 standard
This requires support from the compiler (in the form of pre-including
stdc-predef.h) which is only available in gcc 4.8 and later. Adding it
is on the agenda (not sure if this is documented anywhere) for
predefined macros other than __STDC_NO_THREADS__.
As for __STDC_NO_THREADS__, the intent is to implement the
functionality rather than documenting it as unsupported, but if it
remains missing when we add stdc-predef.h, we could define it there.
Rich
prev parent reply other threads:[~2013-12-16 0:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-15 23:36 __STDC_NO_THREADS__ Shawn Landden
2013-12-16 0:46 ` __STDC_NO_THREADS__ Shawn Landden
2013-12-16 0:58 ` Rich Felker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131216005858.GY24286@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).