From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXxeG-0004nD-Fm for qemu-devel@nongnu.org; Tue, 17 Mar 2015 15:59:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXxeD-0002iJ-Pr for qemu-devel@nongnu.org; Tue, 17 Mar 2015 15:59:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXxeD-0002iD-IU for qemu-devel@nongnu.org; Tue, 17 Mar 2015 15:59:29 -0400 Message-ID: <5508879E.2050809@redhat.com> Date: Tue, 17 Mar 2015 15:59:26 -0400 From: John Snow MIME-Version: 1.0 References: <550880E5.8020505@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] clang 3.5.0 errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel , Stefan Hajnoczi On 03/17/2015 03:34 PM, Peter Maydell wrote: > On 17 March 2015 at 19:30, John Snow wrote: >> -Wunused-command-line-argument currently complains about the many include >> flags passed to each CC incantation -- presumably this is not really >> fixable, because we'd have to fix our Makefile to be a lot smarter than it >> is. We probably need to stifle these warnings conditionally like >> unknown-attributes, above. > > Do you see this with really just --cc=clang ? I see these warnings > if I try to use clang with ccache, but I believe that's a ccache bug. > > -- PMM > Not /intentionally/ invoking ccache: ../../configure --cc=clang --host-cc=clang --enable-debug --extra-cflags="-Werror -Wno-unknown-attributes -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare" But that's because: which clang /usr/lib64/ccache/clang Which is definitely not of my own doing -- seems to be a default in Fedora 21.