[Libguestfs] daemon/ warnings

Jim Meyering jim at meyering.net
Mon Aug 10 09:46:38 UTC 2009


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?

Yes, Very.

> 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. ;-)




More information about the Libguestfs mailing list