From owner-freebsd-current@FreeBSD.ORG Tue Mar 5 16:40:41 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F9C6F7E for ; Tue, 5 Mar 2013 16:40:41 +0000 (UTC) (envelope-from jean-sebastien.pedron@dumbbell.fr) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) by mx1.freebsd.org (Postfix) with ESMTP id DB2C3E75 for ; Tue, 5 Mar 2013 16:40:40 +0000 (UTC) Received: from [2001:1b48:10b:cafe:225:64ff:febe:589f] (helo=viking.yzserv.com) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UCuut-0002r7-L9; Tue, 05 Mar 2013 17:40:40 +0100 Message-ID: <51362002.2060906@dumbbell.fr> Date: Tue, 05 Mar 2013 17:40:34 +0100 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: r247835: drm2 code breaks buildkernel References: <5135C70B.50906@zedat.fu-berlin.de> <5135CD0E.8040801@dumbbell.fr> <5135DE36.9010303@zedat.fu-berlin.de> <20130305123016.GE1483@glenbarber.us> <5135FD78.1050608@FreeBSD.org> <20130305153736.GH3794@kib.kiev.ua> In-Reply-To: <20130305153736.GH3794@kib.kiev.ua> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2IRNEJGUCMNBQXJHTOPUP" Cc: Konstantin Belousov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2013 16:40:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2IRNEJGUCMNBQXJHTOPUP Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05.03.2013 16:37, Konstantin Belousov wrote: > The patch below is supposed to fix double declaration (it is pathetic t= hat > clang silently accepts this, while issuing countless useless warnings).= > Also there is a usual workaround for the anonimous union/struct issue. What do you think about "-fms-extensions"? It avoids modifications to the code and works with both gcc and clang. There're several unnamed structs/unions in the radeon code too. I would like to keep the diff with Linux code as small as possible. --=20 Jean-S=E9bastien P=E9dron ------enig2IRNEJGUCMNBQXJHTOPUP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlE2IAcACgkQa+xGJsFYOlPwIQCcD56ZxWwmZJyP5Sy5QxMihPVy n+EAn0XeFqIgtqF1Py1wj2EVcll2jmg0 =GcDC -----END PGP SIGNATURE----- ------enig2IRNEJGUCMNBQXJHTOPUP--