From owner-soc-status@FreeBSD.ORG Mon Sep 2 08:28:50 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5AEC6756; Mon, 2 Sep 2013 08:28:50 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0CD9126E7; Mon, 2 Sep 2013 08:28:49 +0000 (UTC) Received: from [192.168.0.2] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginmedia.com [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r828Sf6L036010 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 2 Sep 2013 08:28:42 GMT (envelope-from theraven@freebsd.org) Content-Type: multipart/signed; boundary="Apple-Mail=_20BA5740-CD74-4479-A1A7-EE9F21ABC39B"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: GSoC Status: Week 11 From: David Chisnall In-Reply-To: Date: Mon, 2 Sep 2013 09:28:37 +0100 Message-Id: <2DA4D21D-1740-45F2-9966-59FC21004015@freebsd.org> References: <440E5361-BC33-49DD-B51D-C77E9880BD1A@FreeBSD.org> To: Matthew Windsor X-Mailer: Apple Mail (2.1508) Cc: Justin Edward Muniz , soc-status@freebsd.org, Eitan Adler X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 08:28:50 -0000 --Apple-Mail=_20BA5740-CD74-4479-A1A7-EE9F21ABC39B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 2 Sep 2013, at 09:21, Matthew Windsor wrote: > It's fine, the only feature I was using from C11 was anonymous unions, > and the code that used them has since been stripped out, so there > isn't any reason to identify as C11. (Besides, I think anonymous > unions are a GNU extension to C89/C99 anyway - I'm sure I've seen > pkgng using them somewhere and I assume pkgng isn't C11, but I could > be wrong) Yes, anonymous unions are a GCC extension, so they'll work with both = clang and gcc 4.2.1 >> Also, note that we have tried to ensure that most C11 features (with = _Generic being the big exception) work even with our ancient GCC. >=20 > I'm not sure if I was doing something wrong, but when I tried to > compile with --std=3Dc11 on GCC (4.2.1, FreeBSD 9) I got 'cc1: error: > unrecognized command line option "-std=3Dc11"'. This worked fine with > clang. Correct. The compiler doesn't know about the c11 dialect, however most = c11 code should compile with -std=3Dgnu99. Things like anonymous unions = are GNU extensions, things like _Static_assert, _Thread_local and so on = are macros defined in cdefs.h. David --Apple-Mail=_20BA5740-CD74-4479-A1A7-EE9F21ABC39B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJSJEw1AAoJEKx65DEEsqIdhM8P/2fq4sjQuyfXWp7SqJELtezu SYsMbqDLCegmpbTmVEkPMOU0Ib8aaYP4LVYOXm57pRkePprKriC5EFPqXpzD1YYD tBfBveqJ58ScTnfnc0bUCOd4d4XNm6EX+XPXBSaD5hNjRd1sTrrxazan7zQhSnwl rXxSJh/0YdG/kkF93eXwG+XASqpLh/cCgf4plqMXX8DHt0qOhnpiCLO/dfMUqd43 yYba0Xnqk/LFVVla2EvE/ZP4byWAMT5v15dRQk3w5d8R8utrpV+znvtJsBf32Oqe rpMtzTPb2dFYvlmd89VoDUyT60WgrMv6akXxNg24KB3n6QpY1S1Msh0kqjJKluj+ lv4kH4kWczw5IIJpEcyJN1pKuz2XnaKHvSgp0AkOTJiI3xQJHiDkjvYYFcpLDdD/ ZtyyyAX0Lt2J2x9FeVDhZOwiLBrxtH8KBVWp69g3vvzVmpEFNuqFu3UE0oXUxNcm nnC96x6hvtj6t3nDo858gXCPHTrA/j+towAb1owaF42H83sweM4ijBrEY19KZ/p1 DmDcJFb9Au64CQC3oX/qQNocgAsBRTCVV3KXr7jO42jNIWGd/KlhKG/I3CB7F+hW +LhwzqcR6kkrJYP1km6r4vSnpEBfuTfCcRpJr9cEFdYvFcLYZ5MSDPp+r9LhemIQ MxZheQlINm4efXj0UPzR =4Fn1 -----END PGP SIGNATURE----- --Apple-Mail=_20BA5740-CD74-4479-A1A7-EE9F21ABC39B--