[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] avoid warnings about initialization of automatic aggregates
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] avoid warnings about initialization of automatic aggregates |
Date: |
Mon, 1 Dec 2008 23:46:55 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
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
I must dust off and split up my patch
to allow us to use -Wsign-compare
cheers,
Pádraig