bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] avoid warnings about initialization of automatic aggregates


From: Jim Meyering
Subject: Re: [PATCH] avoid warnings about initialization of automatic aggregates
Date: Tue, 02 Dec 2008 08:31:43 +0100

Pádraig Brady <address@hidden> wrote:
> Jim Meyering wrote:
>> Finally getting serious about avoiding warnings,
>> I've just eliminated this batch:
>>
>>>From c58b5daa337b16416be50adfeb3e99e3c009c891 Mon Sep 17 00:00:00 2001
>> From: Jim Meyering <address@hidden>
>> Date: Sun, 30 Nov 2008 22:37:42 +0100
>> Subject: [PATCH] avoid warnings about initialization of automatic aggregates
>>
>> * src/system.h (DZA_CONCAT0, DZA_CONCAT): New macros.
>> (DECLARE_ZEROED_AGGREGATE): New macro.
>
> Some notes on this issue:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750
> So the warning can be suppressed in gcc with
> -Wno-missing-field-initializers

Thanks.  However, I prefer not to use this -Wno... option, because
it could later hide some legitimate warnings in the affected files.

> I must dust off and split up my patch
> to allow us to use -Wsign-compare

Please tread lightly there.  Or maybe even not at all ;-)
Given our penchant for avoiding casts, that might not be soluble.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]