﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
12	Excess elements in struct initializer	a3moss	Rob Schluntz <rschlunt@…>	"If I try to default-construct a struct with no elements using an empty initializer, the generated code inserts a zero into the initializer, making a warning -- GCC finishes silently on the same code:

{{{#!c
struct tag {};

int main() {
    struct tag t = {};
}
}}}

Error:
{{{
CFA Version 1.0.0 (debug)
tag_struct.c: In function ‘__main__Fi___1’:
tag_struct.c:5:33: warning: excess elements in struct initializer
 }
                                 ^
tag_struct.c:5:33: note: (near initialization for ‘__t__4stag_2’)
}}}"	defect	closed	minor	cfa-cc	1.0	fixed		
