Re: [libvirt] [PATCH 4/6] Correctly detect warning flags with clang

2013-05-15 Thread Paul Eggert
On 05/13/2013 12:28 PM, Eric Blake wrote: > Some of this needs to be imported into upstream gnulib. I gave it a try, by installing the following. I'll follow up on bug-gnulib with 7 other clang-related patches. >From 45fc031e607cb82dce777228d9334cdac16ca648 Mon Sep 17 00:00:00 2001 From: Paul Egg

Re: [libvirt] [PATCH 4/6] Correctly detect warning flags with clang

2013-05-13 Thread Eric Blake
[adding bug-gnulib] On 05/13/2013 06:17 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Clang will happily claim to support any warning flags > unless the -Werror and -Wunknown-warning-option flags > are set. Thus we need to make sure these are set when > testing for clags. > > W

[libvirt] [PATCH 4/6] Correctly detect warning flags with clang

2013-05-13 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Clang will happily claim to support any warning flags unless the -Werror and -Wunknown-warning-option flags are set. Thus we need to make sure these are set when testing for clags. We must also set the clang specific warning flags -Wno-unused-command-line-argument to a