On 03/17/2015 03:34 PM, Peter Maydell wrote:
On 17 March 2015 at 19:30, John Snow <js...@redhat.com> 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.

Reply via email to