From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10179 Path: news.gmane.org!not-for-mail From: Jeroen Ketema Newsgroups: gmane.linux.lib.musl.general Subject: Re: C11 support Date: Tue, 21 Jun 2016 16:11:32 +0100 Message-ID: <57695924.6040304@codeplay.com> References: <576946DB.4060105@codeplay.com> <20160621150428.GO10893@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466521912 6456 80.91.229.3 (21 Jun 2016 15:11:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 15:11:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10192-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 21 17:11:44 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 1bFNL2-0004J2-Am for gllmg-musl@m.gmane.org; Tue, 21 Jun 2016 17:11:40 +0200 Original-Received: (qmail 23930 invoked by uid 550); 21 Jun 2016 15:11:38 -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 23909 invoked from network); 21 Jun 2016 15:11:37 -0000 Authentication-Results: mail.codeplay.com (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=codeplay.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeplay.com; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1466521887; x= 1467385888; bh=9r/D15R4AjP2dtJgNIGthk3ZiqDb3Ck3cEaAr578/wg=; b=F fHeFEMWk/U11PX1RYTT4IzgNUwzYOEsN8V9ekVqgksn6Tc25QVymvNgefT+hGGAx P9HHHRyC422ow+Hkd9696SV5KhFxnHDxSTwuxY+qAiO5AVMannBqfUATZwH0MC4F CY+6BgPVBkqNrU3Q6fH8671XviEM41jci/tbHNLJR9rwzV4O2hif+4tNEuZgDK0d wVs8V5vzDprXXVGCwg7Ag3q2V7iphWlSlaaleo71LjFwOG7WeaeoWhuiylbfzRSw XDKjPRcgwwRpuR16R0noLSEjKj3F1Px5l9MoZgmQ05Xni/FFd07h0u01PRE7AtfT EVbuCXkG+/rM7otDXadAQ== X-Virus-Scanned: Debian amavisd-new at mail.codeplay.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-100 required=6.31 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <20160621150428.GO10893@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10179 Archived-At: Hi Rich, Thanks for your quick answer. I'm using clang 3.8 and up, which comes with its own stdatomic.h, so I should be fine in regard to that header. Best, Jeroen On 21/06/16 16:04, Rich Felker wrote: > 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