[Libguestfs] daemon/ warnings

Richard W.M. Jones rjones at redhat.com
Mon Aug 10 10:09:49 UTC 2009


On Mon, Aug 10, 2009 at 10:26:03AM +0100, Matthew Booth wrote:
> On 10/08/09 10:21, Jim Meyering wrote:
>> Matthew Booth wrote:
>>> On 10/08/09 09:57, Jim Meyering wrote:
>>>> Here are a few warning-removal changes for daemon/:
>> ...
>>> What warnings are you turning on? I normally compile with -Wall, and I
>>> don't get warning for unused function arguments:
>>
>> I started with these: -Wall -W -Wextra
>
> Now I see where you're coming from. ACK.
>
> Do you find it's generally useful to turn these on across the board? In  
> my experience, until you get down to zero compiler warnings and turn on  
> -Werror, they often go unnoticed. Are we likely to be able to get down  
> to zero compiler warnings?

Yes, I think this is a good goal to aim for.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list