From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10177 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: C11 support Date: Tue, 21 Jun 2016 11:04:28 -0400 Message-ID: <20160621150428.GO10893@brightrain.aerifal.cx> References: <576946DB.4060105@codeplay.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1466521490 31809 80.91.229.3 (21 Jun 2016 15:04:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 15:04:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10190-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 21 17:04:47 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bFNEJ-0005gK-Vk for gllmg-musl@m.gmane.org; Tue, 21 Jun 2016 17:04:44 +0200 Original-Received: (qmail 13998 invoked by uid 550); 21 Jun 2016 15:04:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 13974 invoked from network); 21 Jun 2016 15:04:40 -0000 Content-Disposition: inline In-Reply-To: <576946DB.4060105@codeplay.com> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10177 Archived-At: On Tue, Jun 21, 2016 at 02:53:31PM +0100, Jeroen Ketema wrote: > Hello, > > I'm wondering to what extent musl supports C11? The FAQ only > mentions that I need at a C99 compiler, and says that musl > implements C and POSIX standards, but it doesn't mention which > versions of standards. musl only requires a C99-conforming compiler to build, but provides a C11 library environment. Completeness of C11 support is also dependent on compiler features (you can't get full C11 just by having library support if the compiler is lacking C11 features) and stdatomic.h in particular has to be provided externally (either by the compiler or the slightly-portable stdatomic.h proposed on the list but not included in musl at this time). Rich