From owner-freebsd-toolchain@FreeBSD.ORG Mon Apr 20 16:46:42 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2EEA324; Mon, 20 Apr 2015 16:46:42 +0000 (UTC) Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E145DDD2; Mon, 20 Apr 2015 16:46:41 +0000 (UTC) X-AuditID: 1209190d-f79676d000000da0-49-55352d691540 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id E5.7A.03488.A6D25355; Mon, 20 Apr 2015 12:46:34 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id t3KGkWMK010733; Mon, 20 Apr 2015 12:46:33 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t3KGkUXR000539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Apr 2015 12:46:31 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id t3KGkToZ011605; Mon, 20 Apr 2015 12:46:29 -0400 (EDT) Date: Mon, 20 Apr 2015 12:46:29 -0400 (EDT) From: Benjamin Kaduk X-X-Sender: kaduk@multics.mit.edu To: Adrian Chadd cc: Eitan Adler , Craig Rodrigues , freebsd-current Current , "freebsd-testing@freebsd.org" , FreeBSD Toolchain Subject: Re: [Request for Help] Reducing gcc 4.9 compilation warnings In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOKsWRmVeSWpSXmKPExsUixCmqrJulaxpqcH8Di8XerduZLOa8+cBk 0T2lk83i19djjBaLTrQzWezt7WFzYPOYtvkgm8eMT/NZApiiuGxSUnMyy1KL9O0SuDKuTvnH XrCdpWJq4xKWBsYDzF2MnBwSAiYS2/6fYoSwxSQu3FvPBmILCSxmkvj0pKCLkQvI3sgo0Xt1 PiOEc4hJ4t3hmSwQTgOjRNv00+wgLSwC2hJf/2wBs9kE1CQe721mhRirKLH51CSgdRwcIgKq Ep3znUHCzAL9TBLfboaB2MICrhL/7iwEK+cUCJTou3mbFaScV8BR4vjxWIiDbjFKrLuiC2KL CuhIrN4/hQXE5hUQlDg58wkLxEgtieXTt7FMYBSahSQ1C0lqASPTKkbZlNwq3dzEzJzi1GTd 4uTEvLzUIl0jvdzMEr3UlNJNjOAwl+TdwfjuoNIhRgEORiUeXglDk1Ah1sSy4srcQ4ySHExK orxztU1DhfiS8lMqMxKLM+KLSnNSiw8xSnAwK4nwCrID5XhTEiurUovyYVLSHCxK4rybfvCF CAmkJ5akZqemFqQWwWRlODiUJHiNdIAaBYtS01Mr0jJzShDSTBycIMN5gIZHgdTwFhck5hZn pkPkTzHqctyZ8n8RkxBLXn5eqpQ4rzVIkQBIUUZpHtwcWHp6xSgO9JYw73SQKh5gaoOb9Apo CRPQkrhtJiBLShIRUlINjHE7XdYE1yXd7v7feCf7t2CNZXLl9Cl2zPrS23Pm+HaU/Co/wiF+ bvbOyd2x1koBqdGybZfsXubfLJ1WIVy66PEmL5V5VZ/NSk/Vz0vzrUz5L77yuLLfAs3bwu3u 6r3OfTf/xcRUnaljudx9Jkb8mRHPmZ9THVc7nTv7+VyDudnqMFXzK3YLlViKMxINtZiLihMB Tvoi8CoDAAA= X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2015 16:46:42 -0000 On Sun, 19 Apr 2015, Adrian Chadd wrote: > I just got a booting mips32 kernel using gcc-4.9.2, and boy are there > a lot of warnings. I'm going to start fixing the ones I find - cleaner > code is better code. Mostly. > > (I'd be happy with -Wall -Werror.) I thought that -Wall was a fixed set of warnings nowhere close to all of them (to avoid breaking peoples' builds as new warnings are introduced), and a larger set would be better. (Things like -Wmaybe-uninitialized have too many false positives to be a desirable -Werror target, though.) -Ben