From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7809 Path: news.gmane.org!not-for-mail From: Shiz Newsgroups: gmane.linux.lib.musl.general Subject: Re: More on warning cleanup Date: Thu, 28 May 2015 15:57:23 +0200 Message-ID: References: <20150528050853.GA8590@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_9BD52E32-FD07-4455-8207-7935EA702688"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: ger.gmane.org 1432821472 27870 80.91.229.3 (28 May 2015 13:57:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2015 13:57:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7821-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 28 15:57:51 2015 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 1YxyJi-0003Ns-Gm for gllmg-musl@m.gmane.org; Thu, 28 May 2015 15:57:50 +0200 Original-Received: (qmail 32292 invoked by uid 550); 28 May 2015 13:57:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32271 invoked from network); 28 May 2015 13:57:47 -0000 X-Virus-Scanned: amavisd-new at shiz.me X-Pgp-Agent: GPGMail 2.5b6 In-Reply-To: <20150528050853.GA8590@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.2070.6) Xref: news.gmane.org gmane.linux.lib.musl.general:7809 Archived-At: --Apple-Mail=_9BD52E32-FD07-4455-8207-7935EA702688 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 28 May 2015, at 07:08, Rich Felker wrote: >=20 > Since compilers differ in what warnings they include in -Wall, I'd > like to remove -Wall (followed by a bunch of -Wno-*) from musl's > --enable-warnings and instead individually turn on the warnings we > want. Sounds like a good idea, if only for consistency between compilers. > One other issue to consider is how to get rid of enabled-by-default > warnings we don't want. On GCC they're impossible to turn off > individually, but unobtrusive; only -w can turn them off, but -w is > permanent and overrides all later -W options. On cparser, a lot of > crap is turned on by default, but -w turns it off and is then > overridable by subsequent -W options. Not sure about clang. clang mimics this behaviour, for what it=E2=80=99s worth. The only thing = that will enable warnings again is -pedantic-errors, which is rather = unfortunate. I presume GCC behaves the same way. -S --Apple-Mail=_9BD52E32-FD07-4455-8207-7935EA702688 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----- iQIcBAEBCAAGBQJVZx7PAAoJEI8YjKeZk+kHwn8P/RpGCp3ZOKhuMYiAcTm7wot8 WCK169+ML9VO+jEWrPUBepR/aUa1tb1VJqlXWA3LzhqynExyXqlCi/1sN7mBNk3x Y0rbxy9DN7qq5Wf9Z2izmYK6J2aQeoYRwDWeWjXVggeq+7inyA2a/yZJ84DcmjKx RAC64XSwel4d7TySmRHlLdSXsxFV6CC8nkf4PcjE5k4gp0PqDsD21FWuwA8D5UQ1 ocwWylI1dXOVC/B8qHtGR9ph62I0dyimv6eLb/xg+IHThZIWWYrZLIeRbKZBs2YA 4K7TIV0naciqSaQ8IEq37uJkFj1wKGPs+xg5q3Ib10LHIKL76AQHgmnvy4FGJKeZ j5U4h9c/rp73tCuNVzc8fqvTJ6ACATCtz+dI8wHvT34iYUJ7xbS4E1YYDlkQpsHg O4VueCVl8msJzZdq5FIny5k4hZ7l/R9vNjlqinvjtKs3Bzdg8KAO4FObEjj5YLMg REp26gc7DQTJBjDBwAYDS7M0xBbmwq3ijMGlU3qgY9JXLXdr6ljSLzPQ6KAPDwb7 W2qPu9amzcrnN59gdDnvvfW07+MNQ9yorhQJmWKQoX7LqhcHaxtfM9CWZy31qkWQ mkprRDFyNkXBuAdFoZuMgvdk0x+BbugxdoK9mC36wbwTjIoPSrGd7TOgiwr2MuOU j/wRrTCW5CN3SYmTn3J4 =Sw9I -----END PGP SIGNATURE----- --Apple-Mail=_9BD52E32-FD07-4455-8207-7935EA702688--